Show some info to debug the update checking process in _DEBUG

This commit is contained in:
David Capello 2014-12-05 10:38:01 -03:00
parent 41c5605102
commit 0a68125372

View File

@ -128,6 +128,11 @@ public:
HttpResponse response(&body);
request.send(response);
#ifdef _DEBUG
PRINTF("Checking updates: %s (User-Agent: %s)\n", url.c_str(), getUserAgent().c_str());
PRINTF("Response:\n--\n%s--\n", body.str().c_str());
#endif
CheckUpdateResponse data(body.str());
delegate->onResponse(data);
}