From 2aaa584e3c7b02508091965aafa220af21df4c5a Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 25 Aug 2024 17:35:28 +0200 Subject: [PATCH] Main process crashes no longer display as worker crashes. --- svr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svr.js b/svr.js index 9400e52..a1415a0 100644 --- a/svr.js +++ b/svr.js @@ -5856,7 +5856,7 @@ function saveConfig() { if (cluster.isPrimary || cluster.isPrimary === undefined) { // Crash handler function crashHandlerMaster(err) { - serverconsole.locerrmessage("SVR.JS worker just crashed!!!"); + serverconsole.locerrmessage("SVR.JS main process just crashed!!!"); serverconsole.locerrmessage("Stack:"); serverconsole.locerrmessage(err.stack ? generateErrorStack(err) : String(err)); process.exit(err.errno !== undefined ? err.errno : 1);