Skip to content

Commit 8d63d46

Browse files
committed
fix: add Sentry integration settings for replay functionality
1 parent 27702db commit 8d63d46

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/lib/sentry.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ export const initSentry = () => {
77
dsn: SENTRY_DSN,
88
sendDefaultPii: true,
99
enabled: !isDevelopment(),
10+
integrations: [
11+
Sentry.replayIntegration({
12+
maskAllText: false,
13+
blockAllMedia: false,
14+
}),
15+
],
16+
replaysSessionSampleRate: 0.01,
17+
replaysOnErrorSampleRate: 1.0,
1018
})
1119
}
1220

0 commit comments

Comments
 (0)