@jaypie/express 1.2.4-rc20 → 1.2.4-rc21

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/dist/esm/index.js CHANGED
@@ -1537,6 +1537,7 @@ function safeSendJson(res, statusCode, data) {
1537
1537
  res._resolve(res.buildResult());
1538
1538
  }
1539
1539
  // Emit "finish" event so runExpressApp's promise resolves
1540
+ console.log("[safeSendJson] Emitting finish event");
1540
1541
  res.emit("finish");
1541
1542
  return;
1542
1543
  }
@@ -1562,6 +1563,7 @@ function safeSend(res, statusCode, body) {
1562
1563
  res._resolve(res.buildResult());
1563
1564
  }
1564
1565
  // Emit "finish" event so runExpressApp's promise resolves
1566
+ console.log("[safeSend] Emitting finish event");
1565
1567
  res.emit("finish");
1566
1568
  return;
1567
1569
  }