[Bootstrap] Add uncaughtException handler

mu
Oj 2 years ago
parent f40682c8a9
commit 376567c97e

2
src/bootstrap.js vendored

@ -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');

Loading…
Cancel
Save