sub/avm/lib/avm/launcher/publish/base.rb in eac_tools-0.57.0 vs sub/avm/lib/avm/launcher/publish/base.rb in eac_tools-0.58.0

- old
+ new

@@ -32,10 +32,15 @@ end def check_with_rescue internal_check rescue ::Avm::Launcher::Errors::Base => e - ::Avm::Launcher::Publish::CheckResult.blocked("Error: #{e}") + ::Avm::Launcher::Publish::CheckResult.blocked("Error: #{error_message(e)}") + end + + # @return [String] + def error_message(error) + error.to_s + error.cause.if_present('') { |v| " / Caused by: #{error_message(v)}" } end end end end end