class ActionDispatch::DebugExceptions

def log_array(logger, lines)

def log_array(logger, lines)
  return if lines.empty?
  if logger.formatter && logger.formatter.respond_to?(:tags_text)
    logger.fatal lines.join("\n#{logger.formatter.tags_text}")
  else
    logger.fatal lines.join("\n")
  end
end