Skip to content

Commit 0630531

Browse files
authored
Update options.mdx
1 parent 26258e1 commit 0630531

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/platforms/rust/common/configuration/options.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ The user agent that should be reported when sending events to Sentry.
9797

9898
<SdkOption name="before_breadcrumb" type='Fn'>
9999

100-
This function is called with a breadcrumb object before the breadcrumb is added to the scope. When `None` is returned from the function, the breadcrumb is dropped. To pass the breadcrumb through, return the breadcrumb itself.
100+
This function is called with a breadcrumb struct before the breadcrumb is added to the scope. When `None` is returned from the function, the breadcrumb is dropped. To pass the breadcrumb through, return the breadcrumb itself.
101101

102102
</SdkOption>
103103

@@ -138,7 +138,7 @@ The default value of `MaxRequestBodySize::Medium` will capture request bodies up
138138

139139
<SdkOption name="before_send" type='Fn'>
140140

141-
This function is called with the event payload, and can return a modified event object, or `None` to skip reporting the event. This can be used, for instance, for manual PII stripping before sending.
141+
This function is called with the event payload, and can return a modified event struct, or `None` to skip reporting the event. This can be used, for instance, for manual PII stripping before sending.
142142

143143
By the time `before_send` is executed, all scope data has already been applied to the event. Further modification of the scope won't have any effect.
144144

0 commit comments

Comments
 (0)