Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeker12 committed Aug 1, 2024
1 parent 163a02d commit a090813
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions response/success.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ func HandleAPISuccessResponse(resp *http.Response, out interface{}, sugar *zap.S
}

// TODO do we need to redact some auth headers here? I think so.
sugar.Debugw("HTTP Response Headers", zap.Any("Headers", resp.Header))
sugar.Debugw("Raw HTTP Response", zap.String("Body", string(bodyBytes)))
// sugar.Debugw("HTTP Response Headers", zap.Any("Headers", resp.Header))
// sugar.Debugw("Raw HTTP Response", zap.String("Body", string(bodyBytes)))

bodyReader := bytes.NewReader(bodyBytes)
contentType := resp.Header.Get("Content-Type")
Expand Down

0 comments on commit a090813

Please sign in to comment.