Skip to content

Commit

Permalink
feat(replay): Add notes about captureConsoleIntegration causing rep…
Browse files Browse the repository at this point in the history
…lays to record

Closes getsentry/sentry#70028
  • Loading branch information
billyvg committed Jun 12, 2024
1 parent 4dce527 commit 3475542
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,7 @@ const httpLink = createHttpLink({
With this configuration, Replay is able to capture response bodies from Apollo Client requests.

</Expandable>

<Expandable title="`console` calls are triggering replays to record">
Using the [`Capture Console Integration`](https://docs.sentry.io/platforms/javascript/configuration/integrations/captureconsole/) can cause replays to record as if you have triggered an exception. You can use the [`beforeErrorSampling` API](https://docs.sentry.io/platforms/javascript/guides/sveltekit/session-replay/understanding-sessions/#ignore-certain-errors-for-error-sampling) to avoid this behavior.
</Expandable>

0 comments on commit 3475542

Please sign in to comment.