Skip to content

Commit

Permalink
Integrated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dmartinol committed Sep 18, 2023
1 parent a4a01e3 commit 6de285e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"errors"
"fmt"
"io"
"log"
"mime/multipart"
"net/http"
"net/url"
Expand Down Expand Up @@ -360,7 +359,7 @@ func parseResponseBody(c *Client, res *Response) (err error) {
if res.Request.Error != nil {
unmarshalErr := Unmarshalc(c, ct, res.body, res.Request.Error)
if unmarshalErr != nil {
log.Printf("[WARN] Cannot unmarshal response body: %s", unmarshalErr)
c.log.Warnf("Cannot unmarshal response body: %s", unmarshalErr)
}
}
}
Expand Down

0 comments on commit 6de285e

Please sign in to comment.