@forklaunch/core 0.15.9 → 0.15.10

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/lib/http/index.js CHANGED
@@ -1177,7 +1177,7 @@ var ForklaunchExpressLikeRouter = class _ForklaunchExpressLikeRouter {
1177
1177
  this.postEnrichMiddleware = postEnrichMiddleware;
1178
1178
  this.openTelemetryCollector = openTelemetryCollector;
1179
1179
  this.routerOptions = routerOptions;
1180
- if (process.env.NODE_ENV !== "test" && !process.env.VITEST) {
1180
+ if (process.env.NODE_ENV !== "test" && !process.env.VITEST && process.env.FORKLAUNCH_MODE !== "openapi") {
1181
1181
  process.on("uncaughtException", (err) => {
1182
1182
  this.openTelemetryCollector.error(`Uncaught exception: ${err}`);
1183
1183
  process.exit(1);