diff options
| author | Jack Nagel | 2014-09-18 20:32:50 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-18 20:32:50 -0500 |
| commit | 8b1bd09d9b2a0a98ff5401edee8c43aa4e49449a (patch) | |
| tree | b5e2b2515dda8f8487226ca33cd88cc5d9acec75 /Library/Homebrew/cmd | |
| parent | 90af638d3a7ad2d8daabb783a6679ab613bc3693 (diff) | |
| download | homebrew-8b1bd09d9b2a0a98ff5401edee8c43aa4e49449a.tar.bz2 | |
Pass command and arg list into ErrorDuringExecution constructor
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/update.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
