Class: ActionController::Base
- Inherits:
-
Object
- Object
- ActionController::Base
- Defined in:
- lib/exceptional/integration/rails.rb
Instance Method Summary collapse
- #rescue_action_with_exceptional(exception) ⇒ Object (also: #rescue_action)
Instance Method Details
#rescue_action_with_exceptional(exception) ⇒ Object Also known as: rescue_action
9 10 11 12 13 14 15 |
# File 'lib/exceptional/integration/rails.rb', line 9 def rescue_action_with_exceptional(exception) unless exception_handled_by_rescue_from?(exception) Exceptional::Catcher.handle_with_controller(exception, self, request) Exceptional.context.clear! end rescue_action_without_exceptional exception end |