Skip to content

Add validation exception handler with optional debug logging #40

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tjeerddie
Copy link
Contributor

@tjeerddie tjeerddie commented Nov 8, 2024

validation error handler that can be added to fastapi app using:

app.add_exception_handler(RequestValidationError, validation_exception_handler)

@tjeerddie tjeerddie force-pushed the validation-error-handler branch from 95bacfe to e1527b2 Compare November 8, 2024 11:19
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants