diff --git a/sentry_sdk/integrations/bottle.py b/sentry_sdk/integrations/bottle.py index dc573eb958..6dae8d9188 100644 --- a/sentry_sdk/integrations/bottle.py +++ b/sentry_sdk/integrations/bottle.py @@ -30,7 +30,6 @@ Bottle, Route, request as bottle_request, - HTTPResponse, __version__ as BOTTLE_VERSION, ) except ImportError: @@ -114,8 +113,6 @@ def wrapped_callback(*args, **kwargs): try: res = prepared_callback(*args, **kwargs) - except HTTPResponse: - raise except Exception as exception: event, hint = event_from_exception( exception,