Skip to content

Commit

Permalink
Merge pull request #1602 from appwrite/fix-disable-replays
Browse files Browse the repository at this point in the history
Disable sentry replays
  • Loading branch information
ernstmul authored Jan 6, 2025
2 parents b870fc6 + 5b35194 commit e301138
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/hooks.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,7 @@ Sentry.init({

// If the entire session is not sampled, use the below sample rate to sample
// sessions when an error occurs.
replaysOnErrorSampleRate: 1.0,

// If you don't want to use Session Replay, just remove the line below:
integrations: [
replayIntegration({
maskAllInputs: true,
maskAllText: false,
blockAllMedia: false
})
]
replaysOnErrorSampleRate: 0
});

// If you have a custom error handler, pass it to `handleErrorWithSentry`
Expand Down

0 comments on commit e301138

Please sign in to comment.