diff --git a/commands/deploy_command.go b/commands/deploy_command.go index f23e8fd..4b5d793 100644 --- a/commands/deploy_command.go +++ b/commands/deploy_command.go @@ -436,8 +436,9 @@ func (c *DeployCommand) doUploadFromUrl(encodedFileUrl string, mtaClient mtaclie } } file = jobResult.File - if len(jobResult.Error) != 0 { + if len(jobResult.Error) != 0 { ui.Failed("Async upload job failed: %s", jobResult.Error) + return UploadFromUrlStatus{ FileId: "", MtaId: "",