Skip to content

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