class ActionDispatch::DebugExceptions

Log actual exceptions, not a string representation

Private Instance Methods

log_error(_request, wrapper) click to toggle source
# File lib/sapience/extensions/action_dispatch/debug_exceptions.rb, line 9
def log_error(_request, wrapper)
  ActiveSupport::Deprecation.silence do
    ActionController::Base.logger.fatal(wrapper.exception)
  end
end
Also aliased as: orig_log_error
orig_log_error(_request, wrapper)
Alias for: log_error