mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 10:30:55 +01:00
Temp workaround for @sentry/integrations update
This commit is contained in:
parent
4f3fd7b631
commit
ed1005482a
1 changed files with 2 additions and 0 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue