module Datadog::Contrib::SuckerPunch::ExceptionHandler
Patches `sucker_punch` exception handling
Constants
- METHOD
Public Instance Methods
exception_handler()
click to toggle source
# File lib/ddtrace/contrib/sucker_punch/exception_handler.rb, line 17 def exception_handler ::Datadog::Contrib::SuckerPunch::ExceptionHandler::METHOD end
patch!()
click to toggle source
# File lib/ddtrace/contrib/sucker_punch/exception_handler.rb, line 13 def patch! ::SuckerPunch.singleton_class.class_eval do alias_method :__exception_handler, :exception_handler def exception_handler ::Datadog::Contrib::SuckerPunch::ExceptionHandler::METHOD end end end