diff options
Diffstat (limited to 'src/electron/exception.ts')
-rw-r--r-- | src/electron/exception.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/electron/exception.ts b/src/electron/exception.ts index ada98d17b..a445a6475 100644 --- a/src/electron/exception.ts +++ b/src/electron/exception.ts | |||
@@ -1,3 +1,4 @@ | |||
1 | // eslint-disable-next-line unicorn/no-empty-file | ||
1 | process.on('uncaughtException', err => { | 2 | process.on('uncaughtException', err => { |
2 | // handle the error safely | 3 | // handle the error safely |
3 | console.error(err); | 4 | console.error(err); |