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.