🐛 fixes #21601
This commit is contained in:
parent
5e2f9a8ae6
commit
6e45311b57
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue