diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2021-02-27 17:39:55 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-27 17:39:55 +0900 |
| commit | 4c01dcd8eb2bb9bed889c76cf4e192ea11914d61 (patch) | |
| tree | 3044231bee4f6d7c45e2d98371bf5a70805268b9 /src/boot/index.ts | |
| parent | Update y18n in yarn.lock (#7246) (diff) | |
| download | sharkey-4c01dcd8eb2bb9bed889c76cf4e192ea11914d61.tar.gz sharkey-4c01dcd8eb2bb9bed889c76cf4e192ea11914d61.tar.bz2 sharkey-4c01dcd8eb2bb9bed889c76cf4e192ea11914d61.zip | |
Fix #7248 (#7250)
* Fix #7248
* fix
* fix
* fix
* avoid infinite loop
Diffstat (limited to 'src/boot/index.ts')
| -rw-r--r-- | src/boot/index.ts | 4 |
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... |