From b87f25b36eb54caee09d22badc9f78b9fb94d939 Mon Sep 17 00:00:00 2001 From: ledouxm Date: Wed, 23 Oct 2024 11:37:33 +0200 Subject: [PATCH] fix(SW): remove throw from sync request --- packages/frontend/src/service-worker/sw.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/frontend/src/service-worker/sw.ts b/packages/frontend/src/service-worker/sw.ts index 6587f9f..45cc385 100644 --- a/packages/frontend/src/service-worker/sw.ts +++ b/packages/frontend/src/service-worker/sw.ts @@ -48,8 +48,6 @@ const syncMissingPictures = async (retries = 3) => { await new Promise((resolve) => setTimeout(resolve, 5000)); return syncMissingPictures(retries - 1); } - - throw e; } };