diff --git a/e2e/pod.go b/e2e/pod.go index dc03a5a2bce..4113e4334dc 100644 --- a/e2e/pod.go +++ b/e2e/pod.go @@ -324,7 +324,7 @@ func execCommandInPodAndAllowFail(f *framework.Framework, c, ns string, opt *met stdOut, stdErr, err := execWithRetry(f, &podOpt) if err != nil { - framework.Logf("command %s failed: %v", c, err) + framework.Logf("command %s failed: error:%v. stderror:%v", c, err, stdErr) } return stdOut, stdErr