@sanity/cli 3.92.1-next.28.e41e8140d2 → 3.92.1-next.30.cedda92b03

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.
@@ -79649,7 +79649,10 @@ async function runCli(cliRoot, { cliVersion }) {
79649
79649
  await flushTelemetry();
79650
79650
  const error2 = typeof err.details == "string" ? err.details : err;
79651
79651
  console.error(`
79652
- ${error2.stack ? neatStack(err) : error2}`), cliCommandTrace.error(error2), process.exit(1);
79652
+ ${error2.stack ? neatStack(err) : error2}`), err.cause && console.error(`
79653
+ Caused by:
79654
+
79655
+ ${err.cause.stack ? neatStack(err.cause) : err.cause}`), cliCommandTrace.error(error2), process.exit(1);
79653
79656
  });
79654
79657
  }
79655
79658
  async function getCoreModulePath(workDir, cliConfig) {