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