diff --git a/cmd/kubectl-testkube/commands/root.go b/cmd/kubectl-testkube/commands/root.go index c0b27a0cd0d..b871110c1e0 100644 --- a/cmd/kubectl-testkube/commands/root.go +++ b/cmd/kubectl-testkube/commands/root.go @@ -87,7 +87,9 @@ var RootCmd = &cobra.Command{ } serverCfg, err := client.GetConfig() - ui.WarnOnError("getting config", err) + if ui.Verbose && err != nil { + ui.Err(err) + } if clientCfg.TelemetryEnabled != serverCfg.EnableTelemetry && err == nil { if serverCfg.EnableTelemetry {