From 74f71905962692d3d595ef3e8ad1aa2f017f1062 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 1 Feb 2019 16:23:14 -0500 Subject: nits --- electron_js/main.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'electron_js') diff --git a/electron_js/main.js b/electron_js/main.js index 95e1521b..ecabe3de 100644 --- a/electron_js/main.js +++ b/electron_js/main.js @@ -5,6 +5,7 @@ const {dialog} = require('electron') const path = require('path'); const url = require('url'); + // Module to create native browser window. const {BrowserWindow} = electron; var isFs = false; @@ -281,10 +282,12 @@ app.on('activate', () => { } }); +console.log ("Setting uncaught exception handler..."); app.on('uncaughtException', function (err) { console.log("***WHOOPS TIME****"+err); }); + app.on('will-quit', () => { // Unregister all shortcuts. globalShortcut.unregisterAll() -- cgit v1.2.3