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 133
      def log_error(request, wrapper)
        logger = logger(request)

        return unless logger
        return if !log_rescued_responses?(request) && wrapper.rescue_response?

        trace = wrapper.exception_trace

        message = []
        message << "  "
        message << "#{wrapper.exception_class_name} (#{wrapper.message}):"
        message.concat(wrapper.annotated_source_code)
        message << "  "
        message.concat(trace)

        log_array(logger, message, request)
      end
Register or log in to add new notes.