* Fix #7248

* fix

* fix

* fix

* avoid infinite loop
This commit is contained in:
MeiMei
2021-02-27 17:39:55 +09:00
committed by GitHub
parent 95939e4991
commit 4c01dcd8eb
2 changed files with 8 additions and 4 deletions

View File

@ -66,7 +66,9 @@ if (!program.quiet) {
// Display detail of uncaught exception
process.on('uncaughtException', err => {
logger.error(err);
try {
logger.error(err);
} catch { }
});
// Dying away...