Improve log message spelling.

This commit is contained in:
levlam 2023-02-26 13:08:03 +03:00
parent 9b8ee4df3c
commit 47724bd4d8
2 changed files with 2 additions and 2 deletions

View File

@ -4574,7 +4574,7 @@ unique_ptr<MessageContent> get_secret_message_content(
break;
}
if (file == nullptr && !is_media_empty) {
LOG(ERROR) << "Received secret message with media, but without a file";
LOG(ERROR) << "Receive secret message with media, but without a file";
is_media_empty = true;
}
if (is_media_empty) {

View File

@ -971,7 +971,7 @@ void Session::on_message_result_error(uint64 message_id, int error_code, string
}
if (message_id == 0) {
LOG(ERROR) << "Received an error update";
LOG(ERROR) << "Receive an error without message_id";
return;
}