summaryrefslogtreecommitdiff
path: root/src/boot/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/index.ts')
-rw-r--r--src/boot/index.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/boot/index.ts b/src/boot/index.ts
index 7380c4484d..602f6b0e48 100644
--- a/src/boot/index.ts
+++ b/src/boot/index.ts
@@ -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...