Improve error message.
GitOrigin-RevId: c61623277759527102a48d2e6b8992ee87c90beb
This commit is contained in:
parent
c08084b1e6
commit
2f9db6e6e6
@ -2022,7 +2022,8 @@ StickerSetId StickersManager::on_get_messages_sticker_set(StickerSetId sticker_s
|
||||
}
|
||||
}
|
||||
if (static_cast<int>(s->sticker_ids.size()) != s->sticker_count) {
|
||||
LOG(ERROR) << "Wrong sticker set size specified in " << set_id << " from " << source;
|
||||
LOG(ERROR) << "Wrong sticker set size " << s->sticker_count << " instead of " << s->sticker_ids.size()
|
||||
<< " specified in " << set_id << " from " << source;
|
||||
s->sticker_count = static_cast<int>(s->sticker_ids.size());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user