Skip to content

Commit 8161917

Browse files
committed
Update exception handler
1 parent d35985a commit 8161917

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

public/electron.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,11 @@ function disableDetachedMode() {
8383
}
8484

8585
function checkAndDownloadUpdate() {
86-
autoUpdater.checkForUpdatesAndNotify();
86+
try {
87+
autoUpdater.checkForUpdatesAndNotify();
88+
} catch (e) {
89+
console.log(e.message);
90+
}
8791
}
8892

8993
// This method will be called when Electron has finished

0 commit comments

Comments
 (0)