mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-10 21:44:22 +00:00
Show some info to debug the update checking process in _DEBUG
This commit is contained in:
parent
41c5605102
commit
0a68125372
@ -128,6 +128,11 @@ public:
|
|||||||
HttpResponse response(&body);
|
HttpResponse response(&body);
|
||||||
request.send(response);
|
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());
|
CheckUpdateResponse data(body.str());
|
||||||
delegate->onResponse(data);
|
delegate->onResponse(data);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user