mirror of
https://github.com/public-apis/public-apis.git
synced 2025-05-10 23:56:46 +02:00
Update Net::OpenTimeout exception
This commit is contained in:
parent
4885264ce6
commit
96dbf27f6a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue