118
119
120
121
122
123
124
125
126
|
# File 'lib/yeller/rails.rb', line 118
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
|