Skip to content

Commit 4ae5ace

Browse files
committed
refactor: update sw agent
1 parent 971bd2f commit 4ae5ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sourceplusplus/control/ContextReceiver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def apply_log(live_log_id, globals, locals):
7171
traceContext=TraceContext(
7272
traceId=str(sw_context.segment.related_traces[0]),
7373
traceSegmentId=str(sw_context.segment.segment_id),
74-
spanId=sw_context.active_span().sid if sw_context.active_span() else -1
74+
spanId=sw_context.active_span.sid if sw_context.active_span else -1
7575
),
7676
tags=log_tags,
7777
)

0 commit comments

Comments
 (0)