Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpirker committed Nov 20, 2024
1 parent da5ea3f commit 8757d2b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sentry_sdk/integrations/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,6 @@ def __iter__(self):
try:
chunk = next(iterator)
except StopIteration:
# Close the Sentry transaction (it could be that response.close() is never called by the framework)
# This is done here to make sure the Transaction stays
# open until all streaming responses are done.
finish_running_transaction(self._current_scope)
break
except BaseException:
reraise(*_capture_exception())
Expand Down

0 comments on commit 8757d2b

Please sign in to comment.