@alfe.ai/gateway 0.0.3 → 0.0.5

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.
@@ -118,7 +118,9 @@ Examples:
118
118
  }
119
119
  main().catch((err) => {
120
120
  const message = err instanceof Error ? err.message : String(err);
121
+ const stack = err instanceof Error ? err.stack : void 0;
121
122
  console.error("Fatal error:", message);
123
+ if (stack) console.error(stack);
122
124
  process.exit(1);
123
125
  });
124
126
  //#endregion