Update skipping current iteration on exception

This commit is contained in:
Dave Machado 2017-09-14 10:18:26 -04:00 committed by GitHub
parent e7f5139e85
commit c32499a34b

View file

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