1
This commit is contained in:
parent
7641fcc95f
commit
bc1ec1ca72
@ -22,7 +22,7 @@ struct HttpProxyRequest
|
||||
|
||||
static void _ProxyCallback(f8::JsonHttpRequest* request)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
#ifdef DEBUG1
|
||||
a8::UdpLog::Instance()->Debug("ProxyCallbBack request:%s",
|
||||
{
|
||||
request->request.ToJsonStr()
|
||||
@ -108,13 +108,13 @@ std::string HttpProxy::HttpGet(a8::XParams param,
|
||||
{
|
||||
HttpProxyRequest* req = HttpProxy::Instance()->GetRequest(param.sender.GetString());
|
||||
if (req) {
|
||||
#ifdef DEBUG
|
||||
a8::UdpLog::Instance()->Debug("ProxyHttpGet error url:%s params:%s response:%s",
|
||||
{
|
||||
req->url,
|
||||
req->url_params.ToJsonStr(),
|
||||
response
|
||||
});
|
||||
#ifdef DEBUG1
|
||||
a8::UdpLog::Instance()->Warning("ProxyHttpGet error url:%s params:%s response:%s",
|
||||
{
|
||||
req->url,
|
||||
req->url_params.ToJsonStr(),
|
||||
response
|
||||
});
|
||||
#endif
|
||||
req->on_error(req->param, response);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user