lib/instana/instrumentation/net-http.rb in instana-1.3.2 vs lib/instana/instrumentation/net-http.rb in instana-1.3.3

- old
+ new

@@ -44,10 +44,10 @@ kv_payload[:http][:status] = response.code if response.code.to_i.between?(500, 511) # Because of the 5xx response, we flag this span as errored but # without a backtrace (no exception) - add_error(nil) + ::Instana.tracer.log_error(nil) end response rescue => e ::Instana.tracer.log_error(e)