Skip to content

Commit

Permalink
add error log to helm install function if failed (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
akankshakumari393 committed May 26, 2021
1 parent 9c1aa00 commit 133b014
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/helm/client.go
Expand Up @@ -141,6 +141,7 @@ func (h CliClient) Install(ctx context.Context, chart, version, release, namespa

out, err := RunCmdWithTimeout(ctx, h.helmBin, cmd)
if err != nil {
log.Error().Print("Error installing helm chart", field.M{"output": out})
return err
}
log.Debug().Print("Result", field.M{"output": out})
Expand Down

0 comments on commit 133b014

Please sign in to comment.