nitro-nightly 3.0.1-20260102-142913-2fb634a2 → 3.0.1-20260102-143448-301604f8
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.
|
@@ -151,6 +151,10 @@ parentPort.on("message", (payload) => {
|
|
|
151
151
|
}
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
+
// Trap unhandled errors to avoid worker crash
|
|
155
|
+
process.on("unhandledRejection", (error) => console.error(error));
|
|
156
|
+
process.on("uncaughtException", (error) => console.error(error));
|
|
157
|
+
|
|
154
158
|
// ----- Server -----
|
|
155
159
|
|
|
156
160
|
async function reload() {
|
package/package.json
CHANGED