Skip to content

clean up debug logging around "not found" errors #331

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

Merged
merged 2 commits into from
Apr 23, 2019

Conversation

QuietMisdreavus
Copy link
Member

We currently emit two debug!() statements on 404 errors: a static "Requested resource not found" and a newer one that prints the path that 404'd. (The former also prints a different one for searches with no results, but "Requested resource not found" is enormously more common in the log.) This PR will strip out the less useful log line in favor of the one that displays what was actually not found.

(It also includes a separate code formatting commit that reduces one level of indentation around that block, as a personal style preference - even though i was the one who wrote that block in the first place >_>)

@QuietMisdreavus QuietMisdreavus merged commit 7f75260 into rust-lang:master Apr 23, 2019
@QuietMisdreavus QuietMisdreavus deleted the log-cleaning branch April 23, 2019 15:35
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