Skip to content

Fix AttributeError: ResolverMatch object has no attribute route#581

Merged
codeboten merged 5 commits intoopen-telemetry:mainfrom
srikanthccv:route-attr-bug
Jul 14, 2021
Merged

Fix AttributeError: ResolverMatch object has no attribute route#581
codeboten merged 5 commits intoopen-telemetry:mainfrom
srikanthccv:route-attr-bug

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 review from a team, 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