module Datadog::Tracing::Contrib::ActionView::Event::ClassMethods
def configuration
def configuration Datadog.configuration.tracing[:action_view] end
def record_exception(span, payload)
def record_exception(span, payload) if payload[:exception_object] span.set_error(payload[:exception_object]) elsif payload[:exception] # Fallback for ActiveSupport < 5.0 span.set_error(payload[:exception]) end end