Suppress expected warning.

This commit is contained in:
levlam 2021-12-20 20:55:47 +03:00
parent ab89543894
commit 40c74a5d0a

View File

@ -30110,7 +30110,9 @@ void MessagesManager::on_send_message_fail(int64 random_id, Status error) {
<< *m->reply_markup; << *m->reply_markup;
} }
} }
LOG_IF(WARNING, error_code != 403) << "Fail to send " << full_message_id << " with the error " << error; if (error_code != 403 && !(error_code == 500 && G()->close_flag())) {
LOG(WARNING) << "Fail to send " << full_message_id << " with the error " << error;
}
if (error_code <= 0) { if (error_code <= 0) {
error_code = 500; error_code = 500;
} }