Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed Jun 1, 2022
1 parent 17af3a0 commit 50b4b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/baseclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
// event.spans[].data may contain circular/dangerous data so we need to normalize it
if (event.spans) {
normalized.spans = event.spans.map(span => {
// 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
if (span.data) {
span.data = normalize(span.data, depth, maxBreadth);
}
Expand Down

0 comments on commit 50b4b33

Please sign in to comment.