Add Errno::ECONNRESET exception

This commit is contained in:
Dave Machado 2017-09-13 12:41:08 -04:00 committed by GitHub
parent de4f7f08b9
commit 1f768c9390

View file

@ -60,6 +60,8 @@ links.each do |link|
fails.push("(SOK): #{link}") fails.push("(SOK): #{link}")
rescue Errno::ECONNREFUSED rescue Errno::ECONNREFUSED
fails.push("(CON): #{link}") fails.push("(CON): #{link}")
rescue Errno::ECONNRESET
continue
end end
progressbar.increment progressbar.increment
end end