Skip to content

Commit 8757d2b

Browse files
committed
Cleanup
1 parent da5ea3f commit 8757d2b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

sentry_sdk/integrations/wsgi.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,6 @@ def __iter__(self):
267267
try:
268268
chunk = next(iterator)
269269
except StopIteration:
270-
# Close the Sentry transaction (it could be that response.close() is never called by the framework)
271-
# This is done here to make sure the Transaction stays
272-
# open until all streaming responses are done.
273-
finish_running_transaction(self._current_scope)
274270
break
275271
except BaseException:
276272
reraise(*_capture_exception())

0 commit comments

Comments
 (0)