summaryrefslogtreecommitdiff
path: root/electron_js/main.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-09-25 11:00:03 -0400
committerPliable Pixels <pliablepixels@gmail.com>2017-09-25 11:00:03 -0400
commit9006a2d713279f4b624df2d94055a591112b055b (patch)
treea33fe01d2bc30d416177727f08f53edf0bf0d6ff /electron_js/main.js
parentab96cb8fcf328d095d8b8e65d40e02c68d6d8d11 (diff)
updated electron #539 and also added exception catch to see if it works in main.js
Diffstat (limited to 'electron_js/main.js')
-rw-r--r--electron_js/main.js4
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()