From b7462159805dd333f5a05677757ec34c8d8460f9 Mon Sep 17 00:00:00 2001 From: Jeff Morgan Date: Sat, 6 Dec 2014 15:16:15 -0500 Subject: [PATCH] Fixing exception popup when auto update fails. --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index c5d7ee2547..fa1d73ac63 100644 --- a/index.js +++ b/index.js @@ -178,6 +178,11 @@ app.on('ready', function() { mainWindow.webContents.send('notify', 'window:update-available'); }); + autoUpdater.on('error', function (e) { + console.log('An error occured while checking for updates.'); + console.log(e); + }); + ipc.on('command', function (event, arg) { console.log('Command: ' + arg); if (arg === 'application:quit-install') {