sindresorhus / electron-unhandled

Catch unhandled errors and promise rejections in your Electron app
MIT License
448 stars 26 forks source link

Feature: After capturing unprocessed errors, users can customize the handling to resolve them #34

Open RSS1102 opened 5 months ago

RSS1102 commented 5 months ago

I want to restart the page or program after capturing a crash in the rendering process or main process.

unhandled({
CustomProcessing:(arg)=>{
//...
}
})

or

unhandled().then({
//...
})