We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6d64a6 commit f687185Copy full SHA for f687185
lib/new_relic/agent/opentelemetry/abstract_segment_patch.rb
@@ -12,6 +12,7 @@ def force_finish
12
if otel_span.respond_to?(:finish) && !otel_span.instance_variable_get(:@finished)
13
begin
14
otel_span.finish
15
+
16
return if finished?
17
rescue => e
18
NewRelic::Agent.logger.debug("Error finishing OpenTelemetry span during force_finish: #{e}")
0 commit comments