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 basic fallback error handler #46

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Conversation

syeopite
Copy link
Owner

This commit adds a proper basic fallback error handler that shows debeug information and the context of when the error has occured.

This replaces the default Sanic error handler which does not show any debug information when development mode is off.

The styling for the error handler is very basic and serves as a placeholder until a proper design can be done for it.

This will likely be a v0.3.0 feature rather than v0.1.0 one.

This commit adds a proper basic fallback error handler that shows debeug
information and the context of when the error has occured.

This replaces the default Sanic error handler which does not show any debug
information when development mode is off.

The styling for the error handler is very basic and serves as a placeholder
until a proper design can be done for it.

This will likely be a v0.3.0 feature rather than v0.1.0 one.
@syeopite syeopite merged commit 0231fa8 into master Jun 17, 2024
@syeopite syeopite deleted the add-generic-error-handler branch June 17, 2024 18:44
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.

1 participant