Module: GrayLogger::RailsModules::ActionControllerCatcher
- Defined in:
- lib/gray_logger/rails_modules.rb
Class Method Summary collapse
-
.included(base) ⇒ Object
Sets up an alias chain to catch exceptions when Rails does.
Class Method Details
.included(base) ⇒ Object
Sets up an alias chain to catch exceptions when Rails does
10 11 12 13 |
# File 'lib/gray_logger/rails_modules.rb', line 10 def self.included(base) #:nodoc: base.send(:alias_method, :rescue_action_without_gray_logger, :rescue_action) base.send(:alias_method, :rescue_action, :rescue_action_with_gray_logger) end |