File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -195,15 +195,14 @@ export interface ClientOptions<TO extends BaseTransportOptions = BaseTransportOp
195
195
tracesSampler ?: ( samplingContext : SamplingContext ) => number | boolean ;
196
196
197
197
/**
198
- * A callback invoked during event submission, allowing to optionally modify
199
- * the event before it is sent to Sentry .
198
+ * An event-processing callback for error and message events, guaranteed to be invoked after all other event
199
+ * processors, which allows an event to be modified or dropped .
200
200
*
201
- * Note that you must return a valid event from this callback. If you do not
202
- * wish to modify the event, simply return it at the end.
203
- * Returning null will cause the event to be dropped.
201
+ * Note that you must return a valid event from this callback. If you do not wish to modify the event, simply return
202
+ * it at the end. Returning `null` will cause the event to be dropped.
204
203
*
205
204
* @param event The error or message event generated by the SDK.
206
- * @param hint May contain additional information about the original exception .
205
+ * @param hint Event metadata useful for processing .
207
206
* @returns A new event that will be sent | null.
208
207
*/
209
208
beforeSend ?: ( event : Event , hint : EventHint ) => PromiseLike < Event | null > | Event | null ;
You can’t perform that action at this time.
0 commit comments