80
81
82
83
84
85
86
87
88
|
# File 'lib/yeller/rails.rb', line 80
def self.included(base)
Yeller::VerifyLog.monkey_patching_rails!("ActionController::Base.rescue_action_in_public")
base.send(:alias_method, :rescue_action_in_public_without_yeller, :rescue_action_in_public)
base.send(:alias_method, :rescue_action_in_public, :rescue_public_exception_with_yeller)
Yeller::VerifyLog.monkey_patching_rails!("ActionController::Base.rescue_action_locally")
base.send(:alias_method, :rescue_action_locally_without_yeller, :rescue_action_locally)
base.send(:alias_method, :rescue_action_locally, :rescue_local_exception_with_yeller)
end
|