From 8c54ef4872d25304627d3529b1ecd2b78428dfb7 Mon Sep 17 00:00:00 2001 From: Jordan Jones Date: Mon, 16 Sep 2024 00:13:25 -0700 Subject: [PATCH] aaaaa --- internal/unifi/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/unifi/client.go b/internal/unifi/client.go index 5ace8a6..c61fe39 100644 --- a/internal/unifi/client.go +++ b/internal/unifi/client.go @@ -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 }