From 9006a2d713279f4b624df2d94055a591112b055b Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 25 Sep 2017 11:00:03 -0400 Subject: updated electron #539 and also added exception catch to see if it works in main.js --- electron_js/main.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'electron_js/main.js') 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() -- cgit v1.2.3