Skip to content

Commit

Permalink
Temp workaround for @sentry/integrations update
Browse files Browse the repository at this point in the history
  • Loading branch information
dangeredwolf committed Sep 10, 2023
1 parent 4f3fd7b commit ed10054
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,8 @@ const sentryWrapper = async (event: FetchEvent, test = false): Promise<void> =>
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. */
Expand Down

0 comments on commit ed10054

Please sign in to comment.