Skip to content

Commit

Permalink
squash: Safe navigation no longer required
Browse files Browse the repository at this point in the history
  • Loading branch information
arielvalentin authored Nov 21, 2023
1 parent 6a6713f commit d6bccf3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def finish_span(span, tokens)
def on_exception(exception, span)
return unless (exception && span)
span&.record_exception(exception)
span&.status =
span.record_exception(exception)
span.status =
@parent_span_provider.current_span.status =
OpenTelemetry::Trace::Status.error(exception.message)
end
Expand Down

0 comments on commit d6bccf3

Please sign in to comment.