aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/search.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/search.rb b/Library/Homebrew/cask/lib/hbc/cli/search.rb
index 785f4b4b1..8fb8b91ec 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/search.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/search.rb
@@ -26,9 +26,8 @@ module Hbc
filename: query,
extension: "rb",
)
- rescue GitHub::Error => e
- onoe e
- $stderr.puts e.backtrace
+ rescue GitHub::Error => error
+ opoo "Online search failed: #{error}\n"
[]
end
matches.map do |match|