-
Notifications
You must be signed in to change notification settings - Fork 212
docs.rs reports 404s for internal server errors #801
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
Comments
Something that could help with identifying more errors would be adding Lines 9 to 44 in 9bd032f
|
That helps with debugging, but still returns a 404 incorrectly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally found in #784.
If we encounter an error in
impl Handler for CratesfyiHandler
, we always return the first error even if it was a 404, ignoring all future errors. This hides panics/errors and makes things very hard to debug (I have a suspicion #800 is because of an internal error being hidden by this bug).Relevant code:
docs.rs/src/web/mod.rs
Line 140 in 9bd032f
The text was updated successfully, but these errors were encountered: