diff --git a/website/app.ts b/website/app.ts index dfc299d2b31f5f..d347d5474d6e19 100644 --- a/website/app.ts +++ b/website/app.ts @@ -189,7 +189,7 @@ function formatSecsAsMins(t) { } /** - * @param dataUrl The url of benchramk data json. + * @param dataUrl The url of benchmark data json. */ export function drawCharts(dataUrl) { // TODO Using window["location"]["hostname"] instead of @@ -291,7 +291,9 @@ export function main(): void { showSpinner(); - drawCharts(u).finally(hideSpinner); + drawCharts(u) + .then(hideSpinner) + .catch(hideSpinner); } updateCharts(); diff --git a/website/benchmarks.html b/website/benchmarks.html index fd68faee2f62b4..8b2b44d729224d 100644 --- a/website/benchmarks.html +++ b/website/benchmarks.html @@ -230,7 +230,7 @@