aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2014-09-18 20:32:50 -0500
committerJack Nagel2014-09-18 20:32:50 -0500
commit56dd575f9603a75015fbdd4a7d7daea0c34a2cb9 (patch)
tree342b61b5f2fb544a62686d5f95712005efb705ba /Library/Homebrew/cmd
parent7a4e2fe24dd29d5f8780d494975509d3de39eed9 (diff)
downloadbrew-56dd575f9603a75015fbdd4a7d7daea0c34a2cb9.tar.bz2
Pass command and arg list into ErrorDuringExecution constructor
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/update.rb2
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