浏览代码

Add HTTParty::RedirectionTooDeep exception handler

pull/487/head
Dave Machado 6 年前
committed by GitHub
父节点
当前提交
60b4f1ca24
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      build/validate_links.rb

+ 2
- 0
build/validate_links.rb 查看文件

@@ -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


正在加载...
取消
保存