diff --git a/client.go b/client.go index 65492a8..4b2e540 100644 --- a/client.go +++ b/client.go @@ -465,7 +465,7 @@ func (c *Client) execute(requestUrl string, method string, params map[string]str if err != nil { c.logger.Error("error while parsing json", "request", "execute", "method", method, "url", requestUrl, "error", err.Error()) } - c.logger.Debug("parsed http request output", "request", "HTTP POLLING", "body", r) + c.logger.Debug("parsed http request output", "request", "HTTP POLLING", "data", r.Data) if r.Success { var sr ServiceRequest @@ -495,7 +495,7 @@ func (c *Client) execute(requestUrl string, method string, params map[string]str if err != nil { c.logger.Error("error while parsing json", "request", "HTTP POLLING", "error", err.Error()) } - c.logger.Debug("parsed loop http request output", "request", "HTTP POLLING", "body", r) + c.logger.Debug("parsed loop http request output", "request", "HTTP POLLING", "data", r.Data) if r.Success { var sr ServiceRequest