Skip to content

Commit 063e1ff

Browse files
author
Craig O'Donnell
authored
log kots install cmd before close on failure (#478)
1 parent f983fc5 commit 063e1ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/addons/adminconsole/adminconsole.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ func (a *AdminConsole) Outro(ctx context.Context, cli client.Client) error {
286286
}
287287

288288
if _, err := helpers.RunCommand(kotsBinPath, installArgs...); err != nil {
289-
loading.Close()
290289
loading.Debugf("kubectl-kots %v", installArgs)
290+
loading.Close()
291291
return fmt.Errorf("unable to install the application: %w", err)
292292
}
293293

0 commit comments

Comments
 (0)