lib/opentelemetry/instrumentation/aws_sdk/handler.rb in aspecto-opentelemetry-instrumentation-aws_sdk-0.1.3 vs lib/opentelemetry/instrumentation/aws_sdk/handler.rb in aspecto-opentelemetry-instrumentation-aws_sdk-0.1.4

- old
+ new

@@ -37,10 +37,10 @@ else super end.tap do |response| if (err = response.error) span.record_exception(err) - span.status = Trace::Status.error(err) + span.status = Trace::Status.error(err.to_s) end end end end