mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
🐛 fixes #21601
This commit is contained in:
@@ -135,7 +135,13 @@ export class UpdateService implements IUpdateService {
|
||||
|
||||
checkForUpdates(explicit = false): TPromise<IUpdate> {
|
||||
return this.throttler.queue(() => this._checkForUpdates(explicit))
|
||||
.then(null, err => this._onError.fire(err));
|
||||
.then(null, err => {
|
||||
if (explicit) {
|
||||
this._onError.fire(err);
|
||||
}
|
||||
|
||||
return null;
|
||||
});
|
||||
}
|
||||
|
||||
private _checkForUpdates(explicit: boolean): TPromise<IUpdate> {
|
||||
|
||||
Reference in New Issue
Block a user