[Bootstrap] Add uncaughtException handler

This commit is contained in:
Ducko 2022-04-17 18:55:37 +01:00
parent f40682c8a9
commit 376567c97e

2
src/bootstrap.js vendored
View file

@ -23,7 +23,7 @@ const fatal = e => {
detail: e?.stack ?? String(e)
}).then(() => app.quit());
};
// process.on('uncaughtException', fatal);
process.on('uncaughtException', console.error);
const splash = require('./splash');