From ed1005482a6129a813ee76a6501e98bdb06b8047 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Sun, 10 Sep 2023 10:36:30 -0400 Subject: [PATCH] Temp workaround for @sentry/integrations update --- src/worker.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/worker.ts b/src/worker.ts index 9d186cd..e928db2 100644 --- a/src/worker.ts +++ b/src/worker.ts @@ -662,6 +662,8 @@ const sentryWrapper = async (event: FetchEvent, test = false): Promise => allowedHeaders: /(.*)/, allowedSearchParams: /(.*)/, }, + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore TODO: Figure out why this throws type errors after @sentry/integrations update integrations: [new RewriteFrames({ root: '/' })], /* event includes 'waitUntil', which is essential for Sentry logs to be delivered. Also includes 'request' -- no need to set it separately. */