@malevich-studio/strapi-sdk-typescript 1.2.23 → 1.2.25
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/dist/cli.cjs +4 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +4 -1
- package/dist/cli.mjs.map +1 -1
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -21444,7 +21444,10 @@ class Strapi {
|
|
|
21444
21444
|
try {
|
|
21445
21445
|
data = await response?.json() || null;
|
|
21446
21446
|
}
|
|
21447
|
-
catch (error) {
|
|
21447
|
+
catch (error) {
|
|
21448
|
+
console.error(await response.clone().text());
|
|
21449
|
+
throw error;
|
|
21450
|
+
}
|
|
21448
21451
|
log(mergedParams);
|
|
21449
21452
|
log(response);
|
|
21450
21453
|
log(data);
|