Update errors returned to user

Signed-off-by: jonathan-innis <jonathan.innis.ji@gmail.com>
This commit is contained in:
jonathan-innis 2021-02-03 10:29:28 -08:00
parent 9e86fbb311
commit 144b7cd922
No known key found for this signature in database
GPG key ID: 5046BA5825A72350
2 changed files with 3 additions and 3 deletions

View file

@ -189,7 +189,7 @@ func installCmdRun(cmd *cobra.Command, args []string) error {
for _, deployment := range components {
err := statusChecker.Assess(deployment)
if err != nil {
return fmt.Errorf("install failed")
return fmt.Errorf("%s: install failed while rolling out deployment", deployment)
}
logger.Successf("%s ready", deployment)
}