@malevich-studio/strapi-sdk-typescript 1.2.23 → 1.2.24
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.cjs
CHANGED
|
@@ -21464,7 +21464,10 @@ class Strapi {
|
|
|
21464
21464
|
try {
|
|
21465
21465
|
data = await response?.json() || null;
|
|
21466
21466
|
}
|
|
21467
|
-
catch (error) {
|
|
21467
|
+
catch (error) {
|
|
21468
|
+
console.error(await response.text());
|
|
21469
|
+
throw error;
|
|
21470
|
+
}
|
|
21468
21471
|
log(mergedParams);
|
|
21469
21472
|
log(response);
|
|
21470
21473
|
log(data);
|