aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cli.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-06-11 02:00:59 +0200
committerMarkus Reiter2017-06-13 17:14:28 +0200
commit66ce57530150d05f52c552347ebb7c44679daf44 (patch)
treea8e81126c6e2acff92b4baf43e0410e4e5e537c8 /Library/Homebrew/cask/lib/hbc/cli.rb
parent054ed10cb1ea2d64c39ba2a3208c14a33d31274d (diff)
downloadbrew-66ce57530150d05f52c552347ebb7c44679daf44.tar.bz2
🔨 Refactor Cask exceptions.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli.rb')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli.rb b/Library/Homebrew/cask/lib/hbc/cli.rb
index eec2788ec..04a414904 100644
--- a/Library/Homebrew/cask/lib/hbc/cli.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli.rb
@@ -166,7 +166,7 @@ module Hbc
Hbc.default_tap.install unless Hbc.default_tap.installed?
Hbc.init if self.class.should_init?(command)
self.class.run_command(command, *args)
- rescue CaskError, CaskSha256MismatchError, ArgumentError, OptionParser::InvalidOption => e
+ rescue CaskError, ArgumentError, OptionParser::InvalidOption => e
msg = e.message
msg << e.backtrace.join("\n").prepend("\n") if ARGV.debug?
onoe msg