mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-28 16:20:50 +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);
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user