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

Add more verbose debug error handling #255

Merged

Conversation

seemethere
Copy link
Member

Relates to #249,

Adds more verbose debug error handling including logging to the terminal every time an error occurs in debug mode.

Also handles exceptions in routes as well as custom exception handlers.

* Adds logging to error messages in debug mode as pointed out in PR sanic-org#249,
while also improving the debug message.
* Adds tests for unhandled exceptions
* Adds tests for unhandled exceptions in exception handlers
* Rewrites tests to utilize pytest fixtures (No need to create the app
on import)
@seemethere seemethere added this to the 0.2.0 milestone Dec 30, 2016
@seemethere seemethere merged commit 0675f38 into sanic-org:master Jan 3, 2017
@seemethere seemethere deleted the add_more_verbose_debug_error_handling branch January 16, 2017 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant