Explorar el Código

Add HTTParty::RedirectionTooDeep exception handler

pull/487/head
Dave Machado hace 6 años
committed by GitHub
padre
commit
60b4f1ca24
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      build/validate_links.rb

+ 2
- 0
build/validate_links.rb Ver fichero

@@ -50,6 +50,8 @@ links.each do |link|
if !allowed_codes.include?(res.code)
fails.push("(#{res.code}): #{link}")
end
rescue HTTParty::RedirectionTooDeep
fails.push("(RTD): #{link}")
rescue Net::ReadTimeout
fails.push("(TMO): #{link}")
rescue Net::OpenTimeout


Cargando…
Cancelar
Guardar