Go to download page when automatic update fails (#871)

* add preference to set a custom update url

* go to download page when update fails

* fix i18n check
This commit is contained in:
Alberto Iannaccone
2022-03-01 08:24:29 +00:00
committed by GitHub
parent 2a27a14a68
commit a5a6a0b611
5 changed files with 160 additions and 89 deletions

View File

@@ -104,7 +104,7 @@ export class IDEUpdaterImpl implements IDEUpdater {
await this.updater.downloadUpdate(this.cancellationToken);
} catch (e) {
if (e.message === 'cancelled') return;
throw e;
this.clients.forEach((c) => c.notifyError(e));
}
}