File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/core/src/types-hoist Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -347,15 +347,15 @@ export interface ClientOptions<TO extends BaseTransportOptions = BaseTransportOp
347
347
beforeSend ?: ( event : ErrorEvent , hint : EventHint ) => PromiseLike < ErrorEvent | null > | ErrorEvent | null ;
348
348
349
349
/**
350
- * This function can be defined to modify or entirely drop a child span before it's sent.
350
+ * This function can be defined to modify a child span before it's sent.
351
351
* Returning `null` will cause this span to be dropped.
352
352
*
353
353
* Note that this function is only called for child spans and not for the root span (formerly known as transaction).
354
354
* If you want to modify or drop the root span, use {@link Options.beforeSendTransaction} instead.
355
355
*
356
356
* @param span The span generated by the SDK.
357
357
*
358
- * @returns A new span that will be sent or null if the span should not be sent.
358
+ * @returns The modified span payload that will be sent.
359
359
*/
360
360
beforeSendSpan ?: ( span : SpanJSON ) => SpanJSON ;
361
361
You can’t perform that action at this time.
0 commit comments