2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Move some logging to DEBUG_LOG instead of LOG.

This commit is contained in:
John Preston
2021-05-28 15:21:15 +04:00
parent d659200a42
commit 9a9430b5e1
4 changed files with 17 additions and 7 deletions

View File

@@ -380,7 +380,7 @@ void SpecialConfigRequest::requestFinished(
not_null<QNetworkReply*> reply) {
handleHeaderUnixtime(reply);
const auto result = finalizeRequest(reply);
if (!_callback) {
if (!_callback || result.isEmpty()) {
return;
}
@@ -407,7 +407,7 @@ void SpecialConfigRequest::requestFinished(
QByteArray SpecialConfigRequest::finalizeRequest(
not_null<QNetworkReply*> reply) {
if (reply->error() != QNetworkReply::NoError) {
LOG(("Config Error: Failed to get response, error: %2 (%3)"
DEBUG_LOG(("Config Error: Failed to get response, error: %2 (%3)"
).arg(reply->errorString()
).arg(reply->error()));
}