aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlexey Alekhin2017-08-24 00:29:22 +0200
committerAlexey Alekhin2017-08-24 00:29:22 +0200
commit2cc6ef48ff6927db568616d2099b9d8163b90652 (patch)
treea1de01363aaa7c70721baecaed63d977a313cc23 /Library
parent15d2a9c7cd2ab37ec7b790ad1c0a4aa653826a60 (diff)
downloadbrew-2cc6ef48ff6927db568616d2099b9d8163b90652.tar.bz2
Narrowed rescued error type
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/search.rb2
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
[]