lib/elastic_apm/spies/faraday.rb in elastic-apm-3.11.1 vs lib/elastic_apm/spies/faraday.rb in elastic-apm-3.12.0
- old
+ new
@@ -87,9 +87,10 @@
if (http = span&.context&.http)
http.status_code = result.status.to_s
end
+ span&.outcome = Span::Outcome.from_http_status(result.status)
result
end
end
end
end