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

Display missing route details. #1363

Merged

Conversation

alex-oleshkevich
Copy link
Member

This PR improves error reporting for NoMatchFound exception.
image

@Kludex
Copy link
Sponsor Member

Kludex commented Dec 14, 2021

For the record, this is what we have before this PR:

image

starlette/routing.py Outdated Show resolved Hide resolved
@Kludex Kludex mentioned this pull request Dec 20, 2021
8 tasks
@adriangb adriangb added the feature New feature or request label Feb 2, 2022
@tomchristie
Copy link
Member

This is a clear win, yup!

Do we think we need to be concerned about folks raising NoMatchFound() directly in their own codebases, and continue to support but deprecate that case? (I don't think we document it anywhere, so arguably it's private-enough-ish not to be too concerned about this?)

@tomchristie tomchristie merged commit 93ad0b9 into encode:master Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants