diff --git a/pkg/skaffold/kubernetes/util.go b/pkg/skaffold/kubernetes/util.go index de18d55a88f..4272c5addd2 100644 --- a/pkg/skaffold/kubernetes/util.go +++ b/pkg/skaffold/kubernetes/util.go @@ -55,6 +55,9 @@ func HasKubernetesFileExtension(n string) bool { // IsKubernetesManifest is for determining if a file is a valid Kubernetes manifest func IsKubernetesManifest(file string) bool { _, err := parseKubernetesObjects(file) + if err != nil { + log.Entry(context.TODO()).Error(err) + } return err == nil }