Skip to content

Commit 1eb154c

Browse files
[SVLS-5265] make json encoder happy
1 parent 2e6a1a5 commit 1eb154c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ddtrace/internal/encoding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def _span_to_dict(span):
8484
d["type"] = span.span_type
8585

8686
if span._links:
87-
d["span_links"] = span._links
87+
d["span_links"] = [link.to_dict() for link in span._links]
8888

8989
return d
9090

0 commit comments

Comments
 (0)