Improve logging.

GitOrigin-RevId: d1c9c742981fa37ebe691aa569e8b6a9fc50d3c1
This commit is contained in:
levlam 2020-03-24 01:36:43 +03:00
parent ca585ad181
commit 1310aa7f2c
2 changed files with 2 additions and 2 deletions

View File

@ -11437,7 +11437,7 @@ FullMessageId MessagesManager::on_get_message(MessageInfo &&message_info, bool f
MessageId old_message_id = find_old_message_id(dialog_id, message_id);
bool need_add_active_live_location = false;
LOG(INFO) << "Found old " << old_message_id << " by " << FullMessageId{dialog_id, message_id};
LOG(INFO) << "Found temporarily " << old_message_id << " for " << FullMessageId{dialog_id, message_id};
if (old_message_id.is_valid() || old_message_id.is_valid_scheduled()) {
Dialog *d = get_dialog(dialog_id);
CHECK(d != nullptr);

View File

@ -199,7 +199,7 @@ void StickersManager::parse_sticker_set(StickerSet *sticker_set, ParserT &parser
parse(access_hash, parser);
CHECK(sticker_set->id.get() == sticker_set_id);
if (sticker_set->access_hash != access_hash) {
LOG(ERROR) << "Access hash of " << sticker_set_id << " has changed from " << access_hash << " to "
LOG(ERROR) << "Access hash of " << sticker_set->id << " has changed from " << access_hash << " to "
<< sticker_set->access_hash;
}