Improve logging.
GitOrigin-RevId: d1c9c742981fa37ebe691aa569e8b6a9fc50d3c1
This commit is contained in:
parent
ca585ad181
commit
1310aa7f2c
@ -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);
|
MessageId old_message_id = find_old_message_id(dialog_id, message_id);
|
||||||
bool need_add_active_live_location = false;
|
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()) {
|
if (old_message_id.is_valid() || old_message_id.is_valid_scheduled()) {
|
||||||
Dialog *d = get_dialog(dialog_id);
|
Dialog *d = get_dialog(dialog_id);
|
||||||
CHECK(d != nullptr);
|
CHECK(d != nullptr);
|
||||||
|
@ -199,7 +199,7 @@ void StickersManager::parse_sticker_set(StickerSet *sticker_set, ParserT &parser
|
|||||||
parse(access_hash, parser);
|
parse(access_hash, parser);
|
||||||
CHECK(sticker_set->id.get() == sticker_set_id);
|
CHECK(sticker_set->id.get() == sticker_set_id);
|
||||||
if (sticker_set->access_hash != access_hash) {
|
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;
|
<< sticker_set->access_hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user