File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
opentelemetry-api/src/opentelemetry/trace Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -588,9 +588,9 @@ def use_span(
588588 finally :
589589 context_api .detach (token )
590590
591- # Record only exceptions that inherit Exception class but not BaseException, because
592- # classes that directly inherit BaseException are not technically errors, e.g. GeneratorExit.
593- # See https://github.com/open-telemetry/opentelemetry-python/issues/4484.
591+ # Record only exceptions that inherit Exception class but not BaseException, because
592+ # classes that directly inherit BaseException are not technically errors, e.g. GeneratorExit.
593+ # See https://github.com/open-telemetry/opentelemetry-python/issues/4484
594594 except Exception as exc : # pylint: disable=broad-exception-caught
595595 if isinstance (span , Span ) and span .is_recording ():
596596 # Record the exception as an event
You can’t perform that action at this time.
0 commit comments