summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Cramer <dcramer@gmail.com>2016-03-27 17:23:50 -0700
committerDavid Cramer <dcramer@gmail.com>2016-03-27 17:23:50 -0700
commit480d713f8e09c1857feba6336c0ef2dc36632613 (patch)
treedafd96bb928a9fa241ef84c50c84363b7fb3106b
parentda688c9a9d306d21f585cece911ff4aa1e3b86fc (diff)
downloadraven-480d713f8e09c1857feba6336c0ef2dc36632613.tar.gz
Re-raise exceptions with Bottle middleware (fixes GH-744)
-rw-r--r--raven/contrib/bottle/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/raven/contrib/bottle/__init__.py b/raven/contrib/bottle/__init__.py
index 90e56f2..d9f845b 100644
--- a/raven/contrib/bottle/__init__.py
+++ b/raven/contrib/bottle/__init__.py
@@ -65,7 +65,8 @@ class Sentry(object):
# catch ANY exception that goes through...
except Exception:
self.handle_exception(exc_info=sys.exc_info())
- return self.app(environ, session_start_response)
+ # re-raise the exception to let parent handlers deal with it
+ raise
def captureException(self, *args, **kwargs):
assert self.client, 'captureException called before application configured'