-
Notifications
You must be signed in to change notification settings - Fork 678
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
[ASGI] UnboundLocalError local variable 'start' referenced before assignment #1883
Comments
thomasleveil
added a commit
to thomasleveil/opentelemetry-python-contrib
that referenced
this issue
Jul 14, 2023
thomasleveil
added a commit
to thomasleveil/opentelemetry-python-contrib
that referenced
this issue
Jul 14, 2023
6 tasks
thomasleveil
added a commit
to thomasleveil/opentelemetry-python-contrib
that referenced
this issue
Jul 15, 2023
thomasleveil
added a commit
to thomasleveil/opentelemetry-python-contrib
that referenced
this issue
Jul 15, 2023
thomasleveil
added a commit
to thomasleveil/opentelemetry-python-contrib
that referenced
this issue
Jul 15, 2023
thomasleveil
added a commit
to thomasleveil/opentelemetry-python-contrib
that referenced
this issue
Jul 15, 2023
thomasleveil
added a commit
to thomasleveil/opentelemetry-python-contrib
that referenced
this issue
Jul 15, 2023
thomasleveil
added a commit
to thomasleveil/opentelemetry-python-contrib
that referenced
this issue
Jul 21, 2023
thomasleveil
added a commit
to thomasleveil/opentelemetry-python-contrib
that referenced
this issue
Jul 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This error arises when an exception occurs in this try block before the
start = default_timer()
line.In such case the
start
variable is undefined. Unfortunately, thefinally
block tries to compute the duration using this variable.Bug instroduced with cbf005b
related issue : #1478
The text was updated successfully, but these errors were encountered: