Module: ActionController::Live
- Defined in:
- lib/sapience/extensions/action_controller/live.rb
Overview
Log actual exceptions, not a string representation
Instance Method Summary collapse
-
#log_error(exception) ⇒ Object
rubocop:disable ClassAndModuleChildren.
Instance Method Details
#log_error(exception) ⇒ Object
rubocop:disable ClassAndModuleChildren
3 4 5 |
# File 'lib/sapience/extensions/action_controller/live.rb', line 3 def log_error(exception) logger.fatal(exception) end |