Debuging response outputs
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
This commit is contained in:
@ -242,6 +242,7 @@ func (c *Client) execute(requestUrl string, method string, params map[string]str
|
||||
if err != nil {
|
||||
c.logger.Error("error while getting body", "error", err.Error())
|
||||
}
|
||||
c.logger.Debug("parsed http request output", "data", string(resBytes))
|
||||
|
||||
if r, ok := c.parseResponse(resBytes); ok {
|
||||
// c.logger.Debug("parsed http request output", "data", r.Data)
|
||||
@ -251,7 +252,7 @@ func (c *Client) execute(requestUrl string, method string, params map[string]str
|
||||
var sr ServiceRequest
|
||||
err := json.Unmarshal(r.Data, &sr)
|
||||
if err != nil {
|
||||
c.logger.Error("error while parsing json", "request", "HTTP POLLING", "error", err.Error())
|
||||
c.logger.Error("error while parsing json", "request", "remoteServiceStatus", "error", err.Error())
|
||||
}
|
||||
|
||||
if pollingUrl != "" {
|
||||
|
Reference in New Issue
Block a user