@forklaunch/core 0.18.3 → 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 CHANGED
@@ -3744,13 +3744,6 @@ function enrichExpressLikeSend(instance, req, res, originalOperation, originalSe
3744
3744
  originalSend.call(instance, data);
3745
3745
  return;
3746
3746
  }
3747
- if (res.statusCode === 404) {
3748
- res.type("text/plain");
3749
- res.status(404);
3750
- req.openTelemetryCollector?.error("Not Found");
3751
- originalSend.call(instance, "Not Found");
3752
- errorSent = true;
3753
- }
3754
3747
  let responses;
3755
3748
  if (req.contractDetails.responses == null && (req.contractDetails.versions == null || Object.values(req.contractDetails.versions).some(
3756
3749
  (version) => version?.responses == null