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

Pyramid: only categorize 500 exceptions as errors #1137

Merged
merged 2 commits into from
Jun 16, 2022

Conversation

nstawski
Copy link
Contributor

@nstawski nstawski commented Jun 16, 2022

Description

Update to the previous pull on the same topic according to discussion in #1037 (comment)

400 exceptions no longer generate error status as per spec here

Updated the tests to include the case for 400s errors.

Fixes #1037

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Added a text to check that 404 response doesn't generate an error

Does This PR Require a Core Repo Change?

  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added

@nstawski nstawski requested a review from a team June 16, 2022 19:19
@srikanthccv srikanthccv merged commit 62e0a31 into open-telemetry:main Jun 16, 2022
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.

Ignore exception attributes for a given route or status (Pyramid)
3 participants