diff --git a/electron.js b/electron.js index 5d09a49df7..32de2f04c6 100644 --- a/electron.js +++ b/electron.js @@ -622,7 +622,10 @@ function checkUpdate (auto) { return; }; - autoUpdater.checkForUpdatesAndNotify(); + autoUpdater.checkForUpdatesAndNotify().catch((err) => { + Util.log('info', 'checkForUpdatesAndNotify error: ' + err); + }); + clearTimeout(timeoutUpdate); timeoutUpdate = setTimeout(() => { checkUpdate(true); }, TIMEOUT_UPDATE); autoUpdate = auto;