diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index eec9f14748..5aab4dcbbe 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -83,7 +83,7 @@ module Homebrew extend self end end results - rescue GitHub::Error + rescue GitHub::Error, Utils::JSON::Error [] end