diff --git a/Library/Homebrew/cask/cmd/upgrade.rb b/Library/Homebrew/cask/cmd/upgrade.rb index da5e4f56cb..6532f26c3a 100644 --- a/Library/Homebrew/cask/cmd/upgrade.rb +++ b/Library/Homebrew/cask/cmd/upgrade.rb @@ -47,7 +47,7 @@ module Cask upgradable_casks.each do |(old_cask, new_cask)| upgrade_cask(old_cask, new_cask) rescue => e - caught_exceptions << e + caught_exceptions << e.exception("#{new_cask.full_name}: #{e}") next end