log_error(request, wrapper) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 149
    def log_error(request, wrapper)
      logger = logger(request)
      return unless logger

      exception = wrapper.exception

      trace = wrapper.application_trace
      trace = wrapper.framework_trace if trace.empty?

      ActiveSupport::Deprecation.silence do
        logger.fatal "  "
        logger.fatal "#{exception.class} (#{exception.message}):"
        log_array logger, exception.annoted_source_code if exception.respond_to?(:annoted_source_code)
        logger.fatal "  "
        log_array logger, trace
      end
    end
Register or log in to add new notes.