Skip to content

Conversation

@andrewslotin
Copy link

This PR updates Django instrumentation to not to count django.http.response.Http404 exceptions as errors. This is a perfectly normal case for an app to signal that the requested document is not found, hence it should not be reported as an error.

Copy link
Contributor

@manojpandey manojpandey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except a small minor comment.

@andrewslotin andrewslotin force-pushed the dont_report_django_http404_as_error branch from 4eaab87 to b3b2303 Compare March 1, 2021 16:38
@andrewslotin andrewslotin merged commit 0f49d79 into master Mar 1, 2021
@andrewslotin andrewslotin deleted the dont_report_django_http404_as_error branch March 1, 2021 16:49
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.

3 participants