diff options
Diffstat (limited to 'electron_js/main.js')
| -rw-r--r-- | electron_js/main.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/electron_js/main.js b/electron_js/main.js index 7aae0ea0..5493f823 100644 --- a/electron_js/main.js +++ b/electron_js/main.js @@ -106,6 +106,10 @@ app.on('activate', () => { } }); +app.on('uncaughtException', function (err) { + console.log("***WHOOPS TIME****"+err); +}) + app.on('will-quit', () => { // Unregister all shortcuts. globalShortcut.unregisterAll() |
