Skip to content

Commit

Permalink
Do not log expected error message.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 19b20f3c40073a79de187bc4890f4085812900e7
  • Loading branch information
levlam committed Jan 25, 2018
1 parent 3def215 commit c5b89c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td/telegram/StickersManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ vector<FileId> StickersManager::get_stickers(string emoji, int32 limit, bool for
if (need_load && !force) {
load_sticker_sets(std::move(sets_to_load),
PromiseCreator::lambda([promise = std::move(promise)](Result<Unit> result) mutable {
if (result.is_error()) {
if (result.is_error() && result.error().message() != "STICKERSET_INVALID") {
LOG(ERROR) << "Failed to load sticker sets: " << result.error();
}
promise.set_value(Unit());
Expand Down

0 comments on commit c5b89c0

Please sign in to comment.