We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17af3a0 commit 50b4b33Copy full SHA for 50b4b33
packages/core/src/baseclient.ts
@@ -518,7 +518,7 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
518
// event.spans[].data may contain circular/dangerous data so we need to normalize it
519
if (event.spans) {
520
normalized.spans = event.spans.map(span => {
521
- // We cannot use the spread operator on span here because that overwrites the `toJSON` method
+ // We cannot use the spread operator here because `toJSON` on `span` is non-enumerable
522
if (span.data) {
523
span.data = normalize(span.data, depth, maxBreadth);
524
}
0 commit comments