aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2014-02-08 16:04:53 -0500
committerJack Nagel2014-02-08 16:04:53 -0500
commit2e3871c076c3ef5d4a5ed83b793f282d5f507a27 (patch)
tree01fe371b13f8f1584b630eea2235f0fbcf06a567 /Library/Homebrew/cmd
parent4d6df3e3bca5147f49deb530d930b2f40b032cd1 (diff)
downloadbrew-2e3871c076c3ef5d4a5ed83b793f282d5f507a27.tar.bz2
Raise only GitHub::Error from GitHub.open
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/search.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb
index a03738bc8..2d3a28f36 100644
--- a/Library/Homebrew/cmd/search.rb
+++ b/Library/Homebrew/cmd/search.rb
@@ -112,7 +112,7 @@ module Homebrew extend self
end
end
results
- rescue OpenURI::HTTPError, GitHub::Error
+ rescue GitHub::Error
opoo "Failed to search tap: #{user}/#{repo}. Please run `brew update`"
[]
end