The Wayback Machine - https://web.archive.org/web/20201127135539/https://github.com/getsentry/raven-python/pull/1345
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable custom error handlers with sanic #1345

Open
wants to merge 1 commit into
base: master
from

Conversation

@iScrE4m
Copy link

@iScrE4m iScrE4m commented Jan 11, 2019

In sanic only the first found error handler gets called matching an
Exception, so registering raven.contrib.sanic.Sentry disables users
from defining their own error handlers, as depending on the order of
addition, one of them would not run. This commit doesn't change the
default behavior while enabling users to define custom error handlers
in which they will be able to call handle_exception manually.

In sanic only the first found error handler gets called matching an
Exception, so registering raven.contrib.sanic.Sentry disables users
from defining their own error handlers, as depending on the order of
addition, one of them would not run. This commit doesn't change the
default behavior while enabling users to define custom error handlers
in which they will be able to call handle_exception manually.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.