Skip to content

Commit

Permalink
Revert "lets try this"
Browse files Browse the repository at this point in the history
This reverts commit f37206b.
  • Loading branch information
Zylphrex committed Jun 11, 2024
1 parent f37206b commit 9aa1365
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions sentry_sdk/tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,8 +668,8 @@ def get_trace_context(self):
if thread_name is not None:
data["thread.name"] = thread_name

# if data:
# rv["data"] = data
if data:
rv["data"] = data

return rv

Expand Down
8 changes: 4 additions & 4 deletions tests/test_new_scopes_compat_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ def create_expected_error_event(trx, span):
"parent_span_id": span.parent_span_id,
"op": "test_span",
"description": None,
# "data": {
# "thread.id": mock.ANY,
# "thread.name": mock.ANY,
# },
"data": {
"thread.id": mock.ANY,
"thread.name": mock.ANY,
},
},
"runtime": {
"name": "CPython",
Expand Down

0 comments on commit 9aa1365

Please sign in to comment.