Prepend cask name to cask upgrade error message

This commit is contained in:
Kien Dang 2020-07-31 11:47:10 +08:00
parent a7276adc10
commit 69189721db

View File

@ -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