[Bootstrap] Add uncaughtException handler
This commit is contained in:
parent
f40682c8a9
commit
376567c97e
1 changed files with 1 additions and 1 deletions
2
src/bootstrap.js
vendored
2
src/bootstrap.js
vendored
|
@ -23,7 +23,7 @@ const fatal = e => {
|
||||||
detail: e?.stack ?? String(e)
|
detail: e?.stack ?? String(e)
|
||||||
}).then(() => app.quit());
|
}).then(() => app.quit());
|
||||||
};
|
};
|
||||||
// process.on('uncaughtException', fatal);
|
process.on('uncaughtException', console.error);
|
||||||
|
|
||||||
|
|
||||||
const splash = require('./splash');
|
const splash = require('./splash');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue