Skip to content

Commit

Permalink
remove some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
emdneto committed Jul 8, 2024
1 parent 95c7bf5 commit be7c4a5
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,18 +275,6 @@ async def on_request_exception(
type(params.exception).__qualname__,
sem_conv_opt_in_mode,
)
# # if _report_new(sem_conv_opt_in_mode):
# # trace_config_ctx.set_attribute(ERROR_TYPE, exception_type)

# # trace_config_ctx.span.set_status(Status(StatusCode.ERROR,exception_type))
# _set_status(
# trace_config_ctx.span,
# metrics_attributes,
# status_code,
# exception_type,
# server_span,
# sem_conv_opt_in_mode,
# )
trace_config_ctx.span.record_exception(params.exception)

if callable(response_hook):
Expand Down

0 comments on commit be7c4a5

Please sign in to comment.