From 485cbf9043a173b50744ae11ab5db2f6da7b7fc3 Mon Sep 17 00:00:00 2001 From: Xymorot Date: Wed, 4 Nov 2020 21:47:47 +0100 Subject: [PATCH] fix: remove throwing of error in uncaughtException handler --- src/main.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index a250a1a..fc6d839 100644 --- a/src/main.ts +++ b/src/main.ts @@ -21,7 +21,6 @@ process.on('unhandledRejection', (reason) => { process.on('uncaughtException', (error) => { const logger: ILogger = container.get('logger'); void logger.exception(error); - throw error; }); async function createWindow(): Promise {