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