Skip to content

Commit

Permalink
aaaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
kashalls committed Sep 16, 2024
1 parent 32ed625 commit 8c54ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/unifi/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (c *httpClient) GetEndpoints() ([]DNSRecord, error) {

var records []DNSRecord
if err = json.NewDecoder(resp.Body).Decode(&records); err != nil {
log.With(zap.Error(err), zap.String("req_url", url)).Debug("JSON Encoding Error")
log.With(zap.Error(err), zap.String("req_url", url), zap.Any("req_body", resp.Body)).Debug("JSON Encoding Error")
return nil, err
}

Expand Down

0 comments on commit 8c54ef4

Please # to comment.