Remove seemingly fixed workaround

This commit is contained in:
dangered wolf 2023-11-08 19:49:32 -05:00
parent 3e4e0ea890
commit 0a27b37bd1
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -624,8 +624,7 @@ const sentryWrapper = async (event: FetchEvent, test = false): Promise<void> =>
/* TODO: Figure out what changed between @sentry/integration 7.65.0 and 7.66.0
https://github.com/getsentry/sentry-javascript/compare/7.65.0...7.66.0
which caused types to go apeshit */
// eslint-disable-next-line @typescript-eslint/no-explicit-any
integrations: [new RewriteFrames({ root: '/' }) as any],
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. */
release: RELEASE_NAME