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

Fix AttributeError: ResolverMatch object has no attribute route #581

Merged
merged 5 commits into from
Jul 14, 2021

Conversation

srikanthccv
Copy link
Member

Description

getattr throws AttributeError if named attribute doesn't exist.

Fixes open-telemetry/opentelemetry-python#1948

Type of change

Please delete options that are not relevant.

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

How Has This Been Tested?

  • Manually tested with Django 2.1

@srikanthccv srikanthccv requested a review from a team as a code owner July 14, 2021 00:19
@srikanthccv srikanthccv requested review from aabmass and ocelotl and removed request for a team July 14, 2021 00:19
@codeboten codeboten merged commit df0ca3b into open-telemetry:main Jul 14, 2021
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.

OpenTelemetry Python Auto instrumentation is not working with Django
4 participants