lib/opentelemetry/sdk/trace/export/console_span_exporter.rb in opentelemetry-sdk-0.4.0 vs lib/opentelemetry/sdk/trace/export/console_span_exporter.rb in opentelemetry-sdk-0.5.0
- old
+ new
@@ -21,10 +21,10 @@
def initialize
@stopped = false
end
def export(spans)
- return ResultCodes::FAILED_NOT_RETRYABLE if @stopped
+ return ResultCodes::FAILURE if @stopped
Array(spans).each { |s| pp s }
ResultCodes::SUCCESS
end