lib/ddtrace/contrib/action_pack/action_controller/instrumentation.rb in ddtrace-0.30.1 vs lib/ddtrace/contrib/action_pack/action_controller/instrumentation.rb in ddtrace-0.31.0

- old
+ new

@@ -21,11 +21,11 @@ # attach the current span to the tracing context tracing_context = payload.fetch(:tracing_context) tracing_context[:dd_request_span] = span rescue StandardError => e - Datadog::Tracer.log.error(e.message) + Datadog::Logger.log.error(e.message) end def finish_processing(payload) # retrieve the tracing context and the latest active span tracing_context = payload.fetch(:tracing_context) @@ -65,10 +65,10 @@ end ensure span.finish end rescue StandardError => e - Datadog::Tracer.log.error(e.message) + Datadog::Logger.log.error(e.message) end def exception_controller?(payload) exception_controller_class = Datadog.configuration[:action_pack][:exception_controller] controller = payload.fetch(:controller)