We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5f0903 commit 68eef78Copy full SHA for 68eef78
sentry_sdk/client.py
@@ -928,7 +928,7 @@ def _capture_log(self, log: "Optional[Log]") -> None:
928
log["trace_id"] = trace_id
929
930
if span_id is not None and not log.get("span_id"):
931
- log["attributes"]["span_id"] = span_id
+ log["span_id"] = span_id
932
933
# The user, if present, is always set on the isolation scope.
934
if isolation_scope._user is not None:
0 commit comments