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 handle non-HTTPException #1001

Conversation

gregbuehler
Copy link
Contributor

@gregbuehler gregbuehler commented Mar 15, 2022

Description

When raising non-HTTPExceptions, treat them as internal server errors for the purposes of tracing.

Fixes #888

Type of change

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

How Has This Been Tested?

Adds a new unit test that raises a non-HTTPException.

Does This PR Require a Core Repo Change?

  • [x ] 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
  • Documentation has been updated

@gregbuehler gregbuehler requested a review from a team March 15, 2022 19:49
@lzchen lzchen merged commit d1f3d51 into open-telemetry:main Apr 1, 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.

Pyramid tween only handles HTTPException
3 participants