mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
JSON.stringify error for debugging
This commit is contained in:
parent
c1a28b7458
commit
23ce7bd654
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,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 a new issue