소스 검색

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


불러오는 중...
취소
저장