lib/opentelemetry/exporter/jaeger/collector_exporter.rb in opentelemetry-exporter-jaeger-0.11.0 vs lib/opentelemetry/exporter/jaeger/collector_exporter.rb in opentelemetry-exporter-jaeger-0.12.0

- old
+ new

@@ -48,10 +48,10 @@ untraced do @transport.flush end SUCCESS rescue StandardError => e - OpenTelemetry.logger.error("unexpected error in Jaeger::CollectorExporter#export - #{e}") + OpenTelemetry.handle_error(exception: e, message: 'unexpected error in Jaeger::CollectorExporter#export') FAILURE end # Called when {OpenTelemetry::SDK::Trace::Tracer#shutdown} is called, if # this exporter is registered to a {OpenTelemetry::SDK::Trace::Tracer}