109
110
111
112
113
114
115
116
117
|
# File 'lib/yeller/rails.rb', line 109
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
|