From c8c6355e1efe72e26c3d4a43d9b26b5cad240ba5 Mon Sep 17 00:00:00 2001 From: ysbrandB <72889753+ysbrandB@users.noreply.github.com> Date: Tue, 27 Jan 2026 00:57:28 +0100 Subject: [PATCH] Fix calling process.exit() with a string instead of an int --- server/utils/logger.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/utils/logger.js b/server/utils/logger.js index 6170cc6..74ab00e 100644 --- a/server/utils/logger.js +++ b/server/utils/logger.js @@ -152,6 +152,7 @@ process.on("exit", (code) => { // Add signal listeners ["SIGINT", "SIGTERM", "SIGQUIT"].forEach((signal) => { process.on(signal, (code) => { - process.exit(code); + log(`Received ${code}. Shutting down...`); + process.exit(0); }); });