Navigation Menu

Skip to content

Commit

Permalink
fix(kube-run): better log message when command failed
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov committed Jun 2, 2022
1 parent 3b5789c commit 6551c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/werf/kube_run/kube_run.go
Expand Up @@ -776,7 +776,7 @@ func execCommandInPod(ctx context.Context, namespace, pod, container string, com
}

if err := cmd.Run(); err != nil {
return fmt.Errorf("error exec'ing into pod %s/%s: %w", namespace, pod, err)
return fmt.Errorf("error running command %q in pod %s/%s: %w", cmd, namespace, pod, err)
}

return nil
Expand Down

0 comments on commit 6551c8e

Please sign in to comment.