diff --git a/httpclimgr.go b/httpclimgr.go index 94a8292..b33377e 100644 --- a/httpclimgr.go +++ b/httpclimgr.go @@ -192,8 +192,14 @@ func (this *httpCliMgr) internalSendRequest( rsp := new(httpCliResponse) rsp.init(data, err) if rsp.GetErr() == nil && jsonRspObj != nil { - if json.Unmarshal([]byte(rsp.GetRawData()), jsonRspObj) == nil { + parseErr := json.Unmarshal([]byte(rsp.GetRawData()), jsonRspObj) + if parseErr == nil { rsp.jsonParseOk = true + } else { + GetSysLog().Warning("f5.httpclimgr.internalSendRequest json error:%s url:%s params:%s", + parseErr, + url, + q5.EncodeJson(¶ms)) } } if style == GO_STYLE_REQUEST {