From 2e9f39ec0189eb54fc77588f0fa888f93573b28f Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Sat, 8 Jul 2023 17:42:18 +0200 Subject: [PATCH] JSON.stringify error for debugging --- src/node/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/server.js b/src/node/server.js index 92ec17a65..136ecc9eb 100755 --- a/src/node/server.js +++ b/src/node/server.js @@ -111,7 +111,7 @@ exports.start = async () => { // eslint-disable-next-line promise/no-promise-in-callback exports.exit(err) .catch((err) => { - logger.error('Error in process exit', err); + logger.error('Error in process exit', JSON.stringify(err)); // eslint-disable-next-line n/no-process-exit process.exit(1); });