Skip to content

Commit 3504d44

Browse files
committed
removed debug logging
1 parent a090813 commit 3504d44

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

httpclient/request.go

-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ func (c *Client) requestWithRetries(method, endpoint string, body, out interface
118118
}
119119

120120
// Success
121-
c.Sugar.Debugf("LOGHERE RETRIES STATUS CODE: %v", resp.StatusCode)
122121
if resp.StatusCode >= http.StatusOK && resp.StatusCode < http.StatusBadRequest {
123122
if resp.StatusCode == http.StatusPermanentRedirect || resp.StatusCode == http.StatusTemporaryRedirect {
124123
c.Sugar.Warn("Redirect response received", zap.Int("status_code", resp.StatusCode), zap.String("location", resp.Header.Get("Location")))

response/success.go

-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ func HandleAPISuccessResponse(resp *http.Response, out interface{}, sugar *zap.S
4949
var handler contentHandler
5050
var ok bool
5151

52-
sugar.Debug("LOGHERE-HandleApiSuccessResponse")
53-
sugar.Debugw("Headers:", "content-type", contentType, "content-disposition", contentDisposition)
54-
5552
contentTypeNoParams, _ := parseHeader(contentType)
5653

5754
if handler, ok = responseUnmarshallers[contentTypeNoParams]; ok {

0 commit comments

Comments
 (0)