Skip to content

Commit

Permalink
Update docs/platforms/ruby/common/configuration/options.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Liza Mock <[email protected]>
  • Loading branch information
sl0thentr0py and lizokm authored Aug 16, 2024
1 parent ababbd6 commit 274aba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/platforms/ruby/common/configuration/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ The below options can be used to hook the SDK in various ways and customize how

<ConfigKey name="before-send">

Provide a lambda or proc that is called with an SDK-specific message or error event object, and can return a modified event object, or `nil` to skip reporting the event. This can be used, for instance, for manual PII stripping before sending.
Provides a lambda or proc that's called with an SDK-specific message or error event object, and can return a modified event object, or `nil` to skip reporting the event. This can be used, for instance, for manual PII stripping before sending.

By the time <PlatformIdentifier name="before-send" /> is executed, all scope data has already been applied to the event. Further modification of the scope won't have any effect.

Expand Down

0 comments on commit 274aba0

Please sign in to comment.