@chahakshah/terabox-api 2.6.6 → 2.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +1 -1
- package/package.json +1 -1
package/api.js
CHANGED
|
@@ -1676,7 +1676,7 @@ class TeraBoxApp {
|
|
|
1676
1676
|
clearTimeout(timeoutId);
|
|
1677
1677
|
|
|
1678
1678
|
if (req.statusCode !== 200) {
|
|
1679
|
-
throw new Error(`HTTP error! Status: ${req}`);
|
|
1679
|
+
throw new Error(`HTTP error! Status: ${JSON.stringify(req)}`);
|
|
1680
1680
|
}
|
|
1681
1681
|
|
|
1682
1682
|
const res = await req.body.json();
|