From 82807b2c5c99569182f92a431272ce90237493f4 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 4 Jun 2018 11:24:48 +0300 Subject: [PATCH] chore(sw) onFetch console.error: e -> e, pathname --- client/sw/sw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;