We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80c79e9 commit fc605e9Copy full SHA for fc605e9
src/sentry.ts
@@ -9,6 +9,10 @@ if (enableSentry) {
9
dsn: import.meta.env.PUBLIC_SENTRY_DSN,
10
integrations: [new BrowserTracing()],
11
tracesSampleRate: 0.05,
12
+ beforeSend: (event) => {
13
+ if (event.contexts?.device?.name?.includes('HeadlessChrome') ?? false) return null
14
+ return event
15
+ }
16
})
17
Sentry.setContext('app', {
18
version: import.meta.env.PUBLIC_VERSION,
0 commit comments