We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd9accc commit 586e480Copy full SHA for 586e480
packages/main/src/index.ts
@@ -77,6 +77,15 @@ function updateAppAndQuit() {
77
log.info('[Main Window][AutoUpdater] Update available');
78
});
79
80
+ updater.autoUpdater.on('update-cancelled', info => {
81
+ Sentry.captureMessage('Auto-update was cancelled', {
82
+ level: 'info',
83
+ extra: {
84
+ updateInfo: info,
85
+ },
86
+ });
87
88
+
89
updater.autoUpdater.on('update-not-available', _info => {
90
log.info('[Main Window][AutoUpdater] Update not available');
91
app.quit();
@@ -94,6 +103,9 @@ function updateAppAndQuit() {
94
103
95
104
updater.autoUpdater.on('error', err => {
96
105
log.error('[Main Window][AutoUpdater] Error in auto-updater', err);
106
107
+ Sentry.captureException(err);
108
97
109
98
110
99
111
0 commit comments