mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore(sw) onFetch console.error: e -> e, pathname
This commit is contained in:
parent
ddd44e7753
commit
82807b2c5c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue