JSON.stringify error for debugging
parent
2656f37e30
commit
2e9f39ec01
|
@ -111,7 +111,7 @@ exports.start = async () => {
|
||||||
// eslint-disable-next-line promise/no-promise-in-callback
|
// eslint-disable-next-line promise/no-promise-in-callback
|
||||||
exports.exit(err)
|
exports.exit(err)
|
||||||
.catch((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
|
// eslint-disable-next-line n/no-process-exit
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue