Skip to content

Commit 5bfc127

Browse files
committed
chore: lint
1 parent 884d8ba commit 5bfc127

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • opentelemetry-sdk/src/opentelemetry/sdk/trace

opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,11 @@ def record_exception(
997997
)
998998
module = type(exception).__module__
999999
qualname = type(exception).__qualname__
1000-
exception_type = f"{module}.{qualname}" if module and module != "builtins" else qualname
1000+
exception_type = (
1001+
f"{module}.{qualname}"
1002+
if module and module != "builtins"
1003+
else qualname
1004+
)
10011005
_attributes: MutableMapping[str, types.AttributeValue] = {
10021006
"exception.type": exception_type,
10031007
"exception.message": str(exception),

0 commit comments

Comments
 (0)