Skip to content

Commit b11ece5

Browse files
Updates queues instrumentation for python to use transaction set status
1 parent 2aae768 commit b11ece5

File tree

1 file changed

+1
-1
lines changed
  • docs/platforms/python/tracing/instrumentation/custom-instrumentation

1 file changed

+1
-1
lines changed

docs/platforms/python/tracing/instrumentation/custom-instrumentation/queues-module.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,5 @@ with sentry_sdk.start_transaction(transaction):
132132
process_message(message)
133133
except Exception:
134134
# In case of an error set the status to "internal_error"
135-
span.set_status("internal_error")
135+
transaction.set_status("internal_error")
136136
```

0 commit comments

Comments
 (0)