Commit 60b4f1ca authored by Dave Machado's avatar Dave Machado Committed by GitHub
Browse files

Add HTTParty::RedirectionTooDeep exception handler

parent 3c0edc40
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment