Skip to content

Commit c6e592b

Browse files
authored
Merge pull request #64803 from Microsoft/joao/release/1.30/fix-64739
Fixes #64739
2 parents 3dcdcc3 + 552023e commit c6e592b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/platform/update/electron-main/updateService.darwin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ export class DarwinUpdateService extends AbstractUpdateService {
4646
this.logService.error('UpdateService error:', err);
4747

4848
// only show message when explicitly checking for updates
49-
const message: string | undefined = !!context ? err : undefined;
49+
const shouldShowMessage = this.state.type === StateType.CheckingForUpdates ? !!this.state.context : true;
50+
const message: string | undefined = shouldShowMessage ? err : undefined;
5051
this.setState(State.Idle(UpdateType.Archive, message));
5152
}
5253

0 commit comments

Comments
 (0)