Module: HoptoadNotifier::Rails::ErrorLookup
- Defined in:
- lib/hoptoad_notifier/rails/error_lookup.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
6 7 8 9 |
# File 'lib/hoptoad_notifier/rails/error_lookup.rb', line 6 def self.included(base) #:nodoc: base.send(:alias_method, :rescue_action_locally_without_hoptoad, :rescue_action_locally) base.send(:alias_method, :rescue_action_locally, :rescue_action_locally_with_hoptoad) end |