diff --git a/packages/frontend/src/service-worker/sw.ts b/packages/frontend/src/service-worker/sw.ts index 82b92cf..15135b8 100644 --- a/packages/frontend/src/service-worker/sw.ts +++ b/packages/frontend/src/service-worker/sw.ts @@ -55,7 +55,7 @@ const syncPicturesById = async (ids: string[], token: string) => { const url = await get("url", apiStore); - if (!url) throw new Error("no backend url in service worker"); + if (!url) return void console.error("no backend url in service worker"); const api = createApiClientWithUrl(url);