Skip to content

Commit

Permalink
fix panic
Browse files Browse the repository at this point in the history
  • Loading branch information
michael burton authored and michael burton committed Jul 13, 2024
1 parent d4871c6 commit d38db1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/databricks/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d38db1c

Please sign in to comment.