Skip to content

docs.rs reports 404s for internal server errors #801

Closed
@jyn514

Description

@jyn514

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:

fn handle(&self, req: &mut Request) -> IronResult<Response> {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions