Skip to content

Commit a7a4949

Browse files
committed
remove comment
1 parent 55e9c43 commit a7a4949

File tree

1 file changed

+0
-7
lines changed
  • instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi

1 file changed

+0
-7
lines changed

instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi/__init__.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,6 @@ def wrapper(span: Span, *args, **kwargs):
301301
func(span, *args, **kwargs)
302302
except Exception as exc: # pylint: disable=W0718
303303
span.record_exception(exc)
304-
# span.set_status(Status(StatusCode.ERROR, str(exc)))
305-
# if span.is_recording():
306-
# span.set_attribute(
307-
# ErrorAttributes.ERROR_TYPE, type(exc).__qualname__
308-
# )
309-
# if span.record_exception
310-
# span.end()
311304

312305
return wrapper
313306

0 commit comments

Comments
 (0)