GitHub API access may result in SSL errors
Closes Homebrew/homebrew#21216.
This commit is contained in:
parent
4eb7116c9c
commit
d912bc5ff3
@ -257,7 +257,7 @@ module GitHub extend self
|
||||
else
|
||||
raise e
|
||||
end
|
||||
rescue SocketError => e
|
||||
rescue SocketError, OpenSSL::SSL::SSLError => e
|
||||
raise Error, "Failed to connect to: #{url}\n#{e.message}"
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user