Supports capturing events from uncaughtException while retaining Electron's default behavior of displaying an error dialog if there are no other listeners.

To disable Electron's default error dialog, add another listener:

process.on("uncaughtException", () => {});
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").