Satisfy eslint on this line

This commit is contained in:
dangered wolf 2022-08-03 19:01:27 -04:00
parent 6f59b5ba67
commit e566406490
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -221,7 +221,7 @@ addEventListener('fetch', (event: FetchEvent) => {
try { try {
event.respondWith(cacheWrapper(event)); event.respondWith(cacheWrapper(event));
} catch (e: unknown) { } catch (e: unknown) {
let error = e as Error; const error = e as Error;
if (typeof EXCEPTION_DISCORD_WEBHOOK !== 'undefined') { if (typeof EXCEPTION_DISCORD_WEBHOOK !== 'undefined') {
try { try {
fetch(EXCEPTION_DISCORD_WEBHOOK, { fetch(EXCEPTION_DISCORD_WEBHOOK, {