Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
ebracho authored and ocelotl committed Jul 1, 2024
1 parent 68cce00 commit 2bcfc6c
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,6 @@ def process_response(self, request, response):
)
request_start_time = request.META.pop(self._environ_timer_key, None)

response_hook_exception = None

if activation and span:
if is_asgi_request:
set_status_code(span, response.status_code)
Expand Down Expand Up @@ -407,7 +405,4 @@ def process_response(self, request, response):
detach(request.META.get(self._environ_token))
request.META.pop(self._environ_token)

if response_hook_exception is not None:
raise response_hook_exception

return response

0 comments on commit 2bcfc6c

Please sign in to comment.