Skip to content

Commit 5a841a7

Browse files
jgiboemdneto
andauthored
code review suggestion - use __qualname__
Co-authored-by: Emídio Neto <[email protected]>
1 parent 252feba commit 5a841a7

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado

1 file changed

+1
-1
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _finish_tracing_callback(
112112

113113
exc = future.exception()
114114
if exc:
115-
description = f"{type(exc).__name__}: {exc}"
115+
description = f"{type(exc).__qualname__}: {exc}"
116116
if isinstance(exc, HTTPError):
117117
response = exc.response
118118
status_code = exc.code

0 commit comments

Comments
 (0)