Skip to content

Commit 68eef78

Browse files
committed
fix
1 parent c5f0903 commit 68eef78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ def _capture_log(self, log: "Optional[Log]") -> None:
928928
log["trace_id"] = trace_id
929929

930930
if span_id is not None and not log.get("span_id"):
931-
log["attributes"]["span_id"] = span_id
931+
log["span_id"] = span_id
932932

933933
# The user, if present, is always set on the isolation scope.
934934
if isolation_scope._user is not None:

0 commit comments

Comments
 (0)