aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2013-07-15 10:55:01 -0500
committerJack Nagel2013-07-15 10:57:55 -0500
commitd912bc5ff31cdbe1c557c58de9e453d72390fe09 (patch)
treec658632b1720004ee97bfaf153652fc2f84668ea /Library/Homebrew
parent4eb7116c9cc0175a37e5c2fd2c1bc2b85bd799b0 (diff)
downloadbrew-d912bc5ff31cdbe1c557c58de9e453d72390fe09.tar.bz2
GitHub API access may result in SSL errors
Closes Homebrew/homebrew#21216.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index 2786d6b7a..e1f1b6b98 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -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