diff --git a/client/sw/sw.js b/client/sw/sw.js index c7cae60a..cb3b3764 100644 --- a/client/sw/sw.js +++ b/client/sw/sw.js @@ -62,7 +62,7 @@ async function onFetch(event) { const [e, resp] = await tryToCatch(fetch, request.clone()); if (e) - return console.error(e); + return console.error(e, pathname); if (!isGet(request) || !resp.ok || !isBasic(resp)) return resp;