JSON.stringify error for debugging

fix-admintests-rebased
webzwo0i 2023-07-08 17:42:18 +02:00 committed by SamTV12345
parent 2656f37e30
commit 2e9f39ec01
1 changed files with 1 additions and 1 deletions

View File

@ -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);
});