aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
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