@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 +1 -1
- package/lib/http/index.js.map +1 -1
- package/lib/http/index.mjs +1 -1
- package/lib/http/index.mjs.map +1 -1
- package/package.json +5 -5
package/lib/http/index.mjs
CHANGED
|
@@ -1114,7 +1114,7 @@ var ForklaunchExpressLikeRouter = class _ForklaunchExpressLikeRouter {
|
|
|
1114
1114
|
this.postEnrichMiddleware = postEnrichMiddleware;
|
|
1115
1115
|
this.openTelemetryCollector = openTelemetryCollector;
|
|
1116
1116
|
this.routerOptions = routerOptions;
|
|
1117
|
-
if (process.env.NODE_ENV !== "test" && !process.env.VITEST) {
|
|
1117
|
+
if (process.env.NODE_ENV !== "test" && !process.env.VITEST && process.env.FORKLAUNCH_MODE !== "openapi") {
|
|
1118
1118
|
process.on("uncaughtException", (err) => {
|
|
1119
1119
|
this.openTelemetryCollector.error(`Uncaught exception: ${err}`);
|
|
1120
1120
|
process.exit(1);
|