Remove expected error logging.

This commit is contained in:
levlam 2023-05-15 14:49:37 +03:00
parent 48a97d5497
commit 9b4de71f28

View File

@ -5752,9 +5752,10 @@ void StickersManager::on_load_sticker_set_from_database(StickerSetId sticker_set
<< " stickers was changed before it is loaded from database";
LogEventParser parser(value);
parse_sticker_set(sticker_set, parser);
LOG_IF(ERROR, sticker_set->is_changed_)
<< sticker_set_id << " with" << (with_stickers ? "" : "out") << " stickers is changed";
parser.fetch_end();
if (sticker_set->is_changed_) {
LOG(INFO) << sticker_set_id << " with" << (with_stickers ? "" : "out") << " stickers is changed";
}
auto status = parser.get_status();
if (status.is_error()) {
G()->td_db()->get_sqlite_sync_pmc()->erase(with_stickers ? get_full_sticker_set_database_key(sticker_set_id)