lib/opentelemetry/instrumentation/excon/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-excon-0.20.0 vs lib/opentelemetry/instrumentation/excon/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-excon-0.20.1

- old
+ new

@@ -68,10 +68,10 @@ end end private - def handle_response(datum) # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity: + def handle_response(datum) if datum.key?(:otel_span) datum[:otel_span].tap do |span| return span if span.end_timestamp if datum.key?(:response)