appease linter

pull/27326/head
Travis Ralston 2024-04-11 16:50:58 -06:00
parent 8542ce2848
commit b333b297d6
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ export default class WebPlatform extends VectorBasePlatform {
// Jest causes `register()` to return undefined, so swallow that case.
if (swPromise) {
swPromise.then((r) => r.update())
swPromise
.then((r) => r.update())
.catch((e) => console.error("Error registering/updating service worker:", e));
}
}