Skip to content

Commit 1076eb7

Browse files
author
Luca Forstner
authored
Fix code snippet (#12446)
1 parent 82317b9 commit 1076eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/platforms/javascript/common/session-replay/understanding-sessions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ If you want to skip capturing a Replay for certain errors, you can use the `befo
192192
replayIntegration({
193193
beforeErrorSampling: (event) => {
194194
// Return false to skip capturing a Replay for this error
195-
return !event.exception?.values?.[0]?.message?.includes("drop me");
195+
return !event.exception?.values?.[0]?.value?.includes("drop me");
196196
},
197197
});
198198
```

0 commit comments

Comments
 (0)