Skip to content

Commit

Permalink
chore: remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Dec 20, 2024
1 parent 7d50515 commit ac94d25
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions providers/dns/manageengine/internal/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ func (c *Client) do(req *http.Request, result any) error {
return errutils.NewReadResponseError(req, resp.StatusCode, err)
}

println(string(raw)) // TODO debug

err = json.Unmarshal(raw, result)
if err != nil {
return errutils.NewUnmarshalError(req, resp.StatusCode, raw, err)
Expand Down Expand Up @@ -189,8 +187,6 @@ func newRequest(ctx context.Context, method string, endpoint *url.URL, payload a
func parseError(req *http.Request, resp *http.Response) error {
raw, _ := io.ReadAll(resp.Body)

println(string(raw)) // TODO debug

var errAPI APIError
err := json.Unmarshal(raw, &errAPI)
if err != nil {
Expand Down

0 comments on commit ac94d25

Please sign in to comment.