@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/index.mjs
CHANGED
|
@@ -21438,7 +21438,10 @@ class Strapi {
|
|
|
21438
21438
|
try {
|
|
21439
21439
|
data = await response?.json() || null;
|
|
21440
21440
|
}
|
|
21441
|
-
catch (error) {
|
|
21441
|
+
catch (error) {
|
|
21442
|
+
console.error(await response.clone().text());
|
|
21443
|
+
throw error;
|
|
21444
|
+
}
|
|
21442
21445
|
log(mergedParams);
|
|
21443
21446
|
log(response);
|
|
21444
21447
|
log(data);
|