@forklaunch/core 0.18.2 → 0.18.4
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 +0 -7
- package/lib/http/index.js.map +1 -1
- package/lib/http/index.mjs +0 -7
- package/lib/http/index.mjs.map +1 -1
- package/lib/services/index.js +4 -3
- package/lib/services/index.js.map +1 -1
- package/lib/services/index.mjs +4 -3
- package/lib/services/index.mjs.map +1 -1
- package/package.json +24 -24
package/lib/http/index.mjs
CHANGED
|
@@ -3690,13 +3690,6 @@ function enrichExpressLikeSend(instance, req, res, originalOperation, originalSe
|
|
|
3690
3690
|
originalSend.call(instance, data);
|
|
3691
3691
|
return;
|
|
3692
3692
|
}
|
|
3693
|
-
if (res.statusCode === 404) {
|
|
3694
|
-
res.type("text/plain");
|
|
3695
|
-
res.status(404);
|
|
3696
|
-
req.openTelemetryCollector?.error("Not Found");
|
|
3697
|
-
originalSend.call(instance, "Not Found");
|
|
3698
|
-
errorSent = true;
|
|
3699
|
-
}
|
|
3700
3693
|
let responses;
|
|
3701
3694
|
if (req.contractDetails.responses == null && (req.contractDetails.versions == null || Object.values(req.contractDetails.versions).some(
|
|
3702
3695
|
(version) => version?.responses == null
|