Improve logging.
GitOrigin-RevId: 26f1002bdf0e437da17d5132e7a6963f39548fdf
This commit is contained in:
parent
9b01faa1fd
commit
01de03a3ee
@ -23031,10 +23031,11 @@ FullMessageId MessagesManager::on_send_message_success(int64 random_id, MessageI
|
|||||||
|
|
||||||
// imitation of update_message(d, sent_message.get(), std::move(new_message), &need_update_dialog_pos);
|
// imitation of update_message(d, sent_message.get(), std::move(new_message), &need_update_dialog_pos);
|
||||||
if (date <= 0) {
|
if (date <= 0) {
|
||||||
LOG(ERROR) << "Receive " << new_message_id << " in " << dialog_id << " with wrong date " << date;
|
LOG(ERROR) << "Receive " << new_message_id << " in " << dialog_id << " with wrong date " << date << " from "
|
||||||
|
<< source;
|
||||||
} else {
|
} else {
|
||||||
LOG_CHECK(sent_message->date > 0) << old_message_id << ' ' << sent_message->message_id << ' ' << new_message_id
|
LOG_CHECK(sent_message->date > 0) << old_message_id << ' ' << sent_message->message_id << ' ' << new_message_id
|
||||||
<< ' ' << sent_message->date << ' ' << date;
|
<< ' ' << sent_message->date << ' ' << date << ' ' << source;
|
||||||
sent_message->date = date;
|
sent_message->date = date;
|
||||||
CHECK(d->last_message_id != old_message_id);
|
CHECK(d->last_message_id != old_message_id);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user