Skip to content

Commit

Permalink
catch service worker errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DispatchCommit committed Mar 31, 2021
1 parent 13171d3 commit 57838b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/sw-hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ if ('serviceWorker' in navigator) {
}
}
}
});
})
.catch( error => console.warn( `service worker hook failed`, error ) );
}

0 comments on commit 57838b0

Please sign in to comment.