aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-07-15 10:55:01 -0500
committerJack Nagel2013-07-15 10:57:55 -0500
commit2366174d6feaec66a08f2730646e443a312898d4 (patch)
tree645dbc0297128b880b060ef5a61506968f004da6 /Library
parent16ecc5d7a8e50944ee78a03183295db2fecc534c (diff)
downloadhomebrew-2366174d6feaec66a08f2730646e443a312898d4.tar.bz2
GitHub API access may result in SSL errors
Closes #21216.
Diffstat (limited to 'Library')
-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