Skip to content

Commit

Permalink
remove span is_recording method
Browse files Browse the repository at this point in the history
  • Loading branch information
GonzaloGuasch committed Dec 23, 2024
1 parent b03bf00 commit 716e3d6
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -480,11 +480,7 @@ def add_response_attributes(
"""Adds HTTP response attributes to span using the arguments
passed to a PEP3333-conforming start_response callable.
"""
if not span.is_recording():
return
status_code_str, _ = start_response_status.split(" ", 1)

status_code = 0
try:
status_code = int(status_code_str)
except ValueError:
Expand Down

0 comments on commit 716e3d6

Please sign in to comment.