Skip to content

Commit 198a621

Browse files
committed
Remove manual closing in bottle, not needed anymore
1 parent e762ef9 commit 198a621

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sentry_sdk/integrations/bottle.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,6 @@ def wrapped_callback(*args, **kwargs):
139139
):
140140
_capture_exception(res, handled=True)
141141

142-
# Manually close the transaction because Bottle does not call `close()` on the WSGI response
143-
finish_running_transaction()
144-
145142
return res
146143

147144
return wrapped_callback

0 commit comments

Comments
 (0)