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.
2 parents 3dcdcc3 + 552023e commit c6e592bCopy full SHA for c6e592b
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