ソースを参照

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


読み込み中…
キャンセル
保存