From d38db1cd7e31d0286a43d3eaaa6cdff3684a624c Mon Sep 17 00:00:00 2001 From: michael burton Date: Fri, 12 Jul 2024 21:41:12 -0700 Subject: [PATCH] fix panic --- pkg/databricks/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/databricks/client.go b/pkg/databricks/client.go index 82b1c49d..909aca5e 100644 --- a/pkg/databricks/client.go +++ b/pkg/databricks/client.go @@ -595,7 +595,7 @@ func (c *Client) doRequest(ctx context.Context, urlAddress *url.URL, method stri c.auth.Apply(req) resp, err := c.httpClient.Do(req, WithJSONResponse(&response)) if err != nil { - return fmt.Errorf("databricks-connector: error: %s %v", err.Error(), resp.Body) + return fmt.Errorf("databricks-connector: error: %s", err.Error()) } defer resp.Body.Close()