diff options
| author | Alexey Alekhin | 2017-08-24 00:29:22 +0200 |
|---|---|---|
| committer | Alexey Alekhin | 2017-08-24 00:29:22 +0200 |
| commit | 2cc6ef48ff6927db568616d2099b9d8163b90652 (patch) | |
| tree | a1de01363aaa7c70721baecaed63d977a313cc23 | |
| parent | 15d2a9c7cd2ab37ec7b790ad1c0a4aa653826a60 (diff) | |
| download | brew-2cc6ef48ff6927db568616d2099b9d8163b90652.tar.bz2 | |
Narrowed rescued error type
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/search.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/search.rb b/Library/Homebrew/cask/lib/hbc/cli/search.rb index 2b290bbdf..785f4b4b1 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/search.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/search.rb @@ -26,7 +26,7 @@ module Hbc filename: query, extension: "rb", ) - rescue StandardError => e + rescue GitHub::Error => e onoe e $stderr.puts e.backtrace [] |
