From 2e3871c076c3ef5d4a5ed83b793f282d5f507a27 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 8 Feb 2014 16:04:53 -0500 Subject: Raise only GitHub::Error from GitHub.open --- Library/Homebrew/cmd/search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd') 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 -- cgit v1.2.3