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 2ff6337 commit febd6cdCopy full SHA for febd6cd
packages/core/src/baseclient.ts
@@ -517,7 +517,7 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
517
// event.spans[].data may contain circular/dangerous data so we need to normalize it
518
if (event.spans) {
519
normalized.spans = event.spans.map(span => {
520
- // 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
521
if (span.data) {
522
span.data = normalize(span.data, depth, maxBreadth);
523
}
0 commit comments