lib/instana/instrumentation/excon.rb in instana-1.212.0 vs lib/instana/instrumentation/excon.rb in instana-1.213.0
- old
+ new
@@ -58,10 +58,10 @@
status = datum[:status]
if !status && datum.key?(:response) && datum[:response].is_a?(Hash)
status = datum[:response][:status]
end
- if status.between?(500, 511)
+ if status >= 500
# Because of the 5xx response, we flag this span as errored but
# without a backtrace (no exception)
::Instana.tracer.log_error(nil)
end