@storacha/clawracha 0.1.7 → 0.1.8
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/plugin.d.ts.map +1 -1
- package/dist/plugin.js +4 -0
- package/package.json +1 -1
package/dist/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EACV,iBAAiB,EAGlB,MAAM,qBAAqB,CAAC;AAgH7B,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,GAAG,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EACV,iBAAiB,EAGlB,MAAM,qBAAqB,CAAC;AAgH7B,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,GAAG,EAAE,iBAAiB,QAukBpD"}
|
package/dist/plugin.js
CHANGED
|
@@ -310,6 +310,8 @@ export default function plugin(api) {
|
|
|
310
310
|
console.error(`Error: ${err.message}`);
|
|
311
311
|
if (err.stack)
|
|
312
312
|
console.error(err.stack);
|
|
313
|
+
if (err.cause?.stack)
|
|
314
|
+
console.error("Caused by:", err.cause.stack);
|
|
313
315
|
process.exit(1);
|
|
314
316
|
}
|
|
315
317
|
});
|
|
@@ -374,6 +376,8 @@ export default function plugin(api) {
|
|
|
374
376
|
console.error(`Error: ${err.message}`);
|
|
375
377
|
if (err.stack)
|
|
376
378
|
console.error(err.stack);
|
|
379
|
+
if (err.cause?.stack)
|
|
380
|
+
console.error("Caused by:", err.cause.stack);
|
|
377
381
|
process.exit(1);
|
|
378
382
|
}
|
|
379
383
|
});
|