diff --git a/pkg/cmd/util/helpers.go b/pkg/cmd/util/helpers.go index 755533aeb..c9872d2d0 100644 --- a/pkg/cmd/util/helpers.go +++ b/pkg/cmd/util/helpers.go @@ -243,7 +243,8 @@ func statusCausesToAggrError(scs []metav1.StatusCause) utilerrors.Aggregate { // commands. func StandardErrorMessage(err error) (string, bool) { if debugErr, ok := err.(debugError); ok { - klog.V(4).Info(debugErr.DebugError()) + msg, args := debugErr.DebugError() + klog.V(4).Infof(msg, args...) } status, isStatus := err.(apierrors.APIStatus) switch {