mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
Update skipping current iteration on exception
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user