diff --git a/src/app/components/settings/settings.component.ts b/src/app/components/settings/settings.component.ts index cd2f00a..36c965a 100644 --- a/src/app/components/settings/settings.component.ts +++ b/src/app/components/settings/settings.component.ts @@ -38,10 +38,11 @@ export class SettingsComponent implements OnInit, AfterViewInit { } this.ref.detectChanges() }) - this.electronService.receiveIPC('update-error', () => { + this.electronService.receiveIPC('update-error', (err: Error) => { + console.log(err) this.updateAvailable = null this.updateRetrying = false - this.retryUpdateText = 'Failed to check for update' + this.retryUpdateText = `Failed to check for update: ${err.message}` this.ref.detectChanges() }) this.electronService.invoke('get-current-version', undefined).then(version => {