[Bootstrap] Add uncaughtException handler
This commit is contained in:
parent
f40682c8a9
commit
376567c97e
|
@ -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…
Reference in New Issue