mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
Update Net::OpenTimeout exception
This commit is contained in:
@@ -51,6 +51,8 @@ links.each do |link|
|
|||||||
end
|
end
|
||||||
rescue Net::ReadTimeout
|
rescue Net::ReadTimeout
|
||||||
fails.push("(TMO): #{link}")
|
fails.push("(TMO): #{link}")
|
||||||
|
rescue Net::OpenTimeout
|
||||||
|
fails.push("(TMO): #{link}")
|
||||||
rescue OpenSSL::SSL::SSLError
|
rescue OpenSSL::SSL::SSLError
|
||||||
fails.push("(SSL): #{link}")
|
fails.push("(SSL): #{link}")
|
||||||
rescue SocketError
|
rescue SocketError
|
||||||
|
|||||||
Reference in New Issue
Block a user