From 8b1bd09d9b2a0a98ff5401edee8c43aa4e49449a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 18 Sep 2014 20:32:50 -0500 Subject: Pass command and arg list into ErrorDuringExecution constructor --- Library/Homebrew/cmd/update.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd') diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb index eef516f8e..96d3fdd09 100644 --- a/Library/Homebrew/cmd/update.rb +++ b/Library/Homebrew/cmd/update.rb @@ -222,7 +222,7 @@ class Updater out = super if $? && !$?.success? $stderr.puts out - raise ErrorDuringExecution, "Failure while executing: #{cmd}" + raise ErrorDuringExecution.new(cmd) end ohai(cmd, out) if ARGV.verbose? out -- cgit v1.2.3