Skip to content

Commit ecf495d

Browse files
billyvgstephanie-andersonvivianyentran
authored
feat(replay): Add notes about captureConsoleIntegration causing replays to record (#10375)
* feat(replay): Add notes about `captureConsoleIntegration` causing replays to record Closes getsentry/sentry#70028 * remove API * Update docs/platforms/javascript/common/session-replay/troubleshooting.mdx Co-authored-by: vivianyentran <[email protected]> --------- Co-authored-by: Stephanie Anderson <[email protected]> Co-authored-by: vivianyentran <[email protected]>
1 parent 84ec25c commit ecf495d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/platforms/javascript/common/session-replay/troubleshooting.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,7 @@ const httpLink = createHttpLink({
146146
With this configuration, Replay is able to capture response bodies from Apollo Client requests.
147147

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

0 commit comments

Comments
 (0)