fix: remove throwing of error in uncaughtException handler
This commit is contained in:
parent
e862d15d75
commit
485cbf9043
|
@ -21,7 +21,6 @@ process.on('unhandledRejection', (reason) => {
|
||||||
process.on('uncaughtException', (error) => {
|
process.on('uncaughtException', (error) => {
|
||||||
const logger: ILogger = container.get('logger');
|
const logger: ILogger = container.get('logger');
|
||||||
void logger.exception(error);
|
void logger.exception(error);
|
||||||
throw error;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
async function createWindow(): Promise<void> {
|
async function createWindow(): Promise<void> {
|
||||||
|
|
Loading…
Reference in New Issue