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 3dcdcc3 commit 552023eCopy full SHA for 552023e
src/vs/platform/update/electron-main/updateService.darwin.ts
@@ -46,7 +46,8 @@ export class DarwinUpdateService extends AbstractUpdateService {
46
this.logService.error('UpdateService error:', err);
47
48
// only show message when explicitly checking for updates
49
- const message: string | undefined = !!context ? err : undefined;
+ const shouldShowMessage = this.state.type === StateType.CheckingForUpdates ? !!this.state.context : true;
50
+ const message: string | undefined = shouldShowMessage ? err : undefined;
51
this.setState(State.Idle(UpdateType.Archive, message));
52
}
53
0 commit comments