diff options
| author | Markus Reiter | 2016-12-16 18:22:04 +0100 |
|---|---|---|
| committer | Markus Reiter | 2016-12-16 18:22:04 +0100 |
| commit | 3088faaf9c1bea9fdbf923a05a6aea984d32fedd (patch) | |
| tree | 2d4618607a5621ea884f3b5838fc52a8563c1867 /Library | |
| parent | 9cd5a21b473f0271b162bbe7f77f7d1468c0cfa1 (diff) | |
| download | brew-3088faaf9c1bea9fdbf923a05a6aea984d32fedd.tar.bz2 | |
Fix error message when cask fails to install.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/installer.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/installer.rb b/Library/Homebrew/cask/lib/hbc/installer.rb index 5176143d7..3875e1c8f 100644 --- a/Library/Homebrew/cask/lib/hbc/installer.rb +++ b/Library/Homebrew/cask/lib/hbc/installer.rb @@ -146,14 +146,13 @@ module Hbc end rescue StandardError => e begin - ofail e.message already_installed_artifacts.each do |artifact| odebug "Reverting installation of artifact of class #{artifact}" artifact.new(@cask, options).uninstall_phase end ensure purge_versioned_files - raise e.class, "An error occured during installation of Cask #{@cask}: #{e.message}" + raise e end end |
