From 9fb2c66c4a56a81e0d61cfce33355c7e899f0b92 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Mon, 30 Dec 2024 12:12:05 +0530 Subject: [PATCH] add debug log --- cmd/bundle/init.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/bundle/init.go b/cmd/bundle/init.go index 2fff63c1d..1e698c624 100644 --- a/cmd/bundle/init.go +++ b/cmd/bundle/init.go @@ -15,6 +15,7 @@ import ( "github.com/databricks/cli/libs/dbr" "github.com/databricks/cli/libs/filer" "github.com/databricks/cli/libs/git" + "github.com/databricks/cli/libs/log" "github.com/databricks/cli/libs/telemetry" "github.com/databricks/cli/libs/template" "github.com/databricks/databricks-sdk-go/client" @@ -212,6 +213,7 @@ See https://docs.databricks.com/en/dev-tools/bundles/templates.html for more inf apiClient, err := client.New(w.Config) if err != nil { // Uploading telemetry is best effort. Do not error. + log.Debugf(ctx, "Could not create API client to send telemetry using: %v", err) return }