parent
95939e4991
commit
4c01dcd8eb
2 changed files with 8 additions and 4 deletions
|
@ -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...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue