lib/ddtrace/contrib/http/instrumentation.rb in ddtrace-0.34.2 vs lib/ddtrace/contrib/http/instrumentation.rb in ddtrace-0.35.0

- old
+ new

@@ -56,10 +56,10 @@ end # Add additional request specific tags to the span. annotate_span_with_request!(span, req, request_options) rescue StandardError => e - Datadog::Logger.log.error("error preparing span for http request: #{e}") + Datadog.logger.error("error preparing span for http request: #{e}") ensure response = super(req, body, &block) end # Add additional response specific tags to the span.