Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 3fcb758

Browse files
authored
Update streaming_pull_manager.py
1 parent 8daa2d1 commit 3fcb758

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def _wrap_callback_errors(
148148
try:
149149
if message.opentelemetry_data:
150150
message.opentelemetry_data.end_subscribe_concurrency_control_span()
151-
with message.opentelemetry_data as otel_span:
151+
with message.opentelemetry_data:
152152
callback(message)
153153
else:
154154
callback(message)

0 commit comments

Comments
 (0)