diff options
| author | Alexey Alekhin | 2017-08-26 02:37:39 +0200 |
|---|---|---|
| committer | Alexey Alekhin | 2017-08-26 02:37:39 +0200 |
| commit | 2a3f83b8d4ceeca370a60bbcb494990a2bd20801 (patch) | |
| tree | 25d387f343e810627f69dc9efec64a1d23ee4815 | |
| parent | 29b0c7d7472dc26c8c8913db9a16e996ce68f6d2 (diff) | |
| download | brew-2a3f83b8d4ceeca370a60bbcb494990a2bd20801.tar.bz2 | |
Changed online search failure to warning and removed stacktrace
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/search.rb | 5 |
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| |
