We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 273e41e commit ee257a0Copy full SHA for ee257a0
sentry_sdk/integrations/wsgi.py
@@ -283,12 +283,12 @@ def close(self):
283
with use_isolation_scope(self._isolation_scope):
284
with use_scope(self._current_scope):
285
try:
286
- self._response.close() # type: ignore
287
-
288
# Close the Sentry transaction
289
# This is done here to make sure the Transaction stays
290
# open until all streaming responses are done.
291
finish_running_transaction()
+
+ self._response.close() # type: ignore
292
except AttributeError:
293
pass
294
except BaseException:
0 commit comments