This commit is contained in:
Joao Moreno 2017-04-21 10:54:13 +02:00
parent 5e2f9a8ae6
commit 6e45311b57

View file

@ -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> {