From 664f230c1f08b4b0a8c88c993ada13cedb73d693 Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 14 Mar 2019 22:25:23 +0300 Subject: [PATCH] Add debug logging. GitOrigin-RevId: ba81b89a53209dc4a619a1454cec424138ee407e --- td/telegram/NotificationManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/td/telegram/NotificationManager.cpp b/td/telegram/NotificationManager.cpp index 476a45d4..39041d67 100644 --- a/td/telegram/NotificationManager.cpp +++ b/td/telegram/NotificationManager.cpp @@ -396,7 +396,8 @@ int32 NotificationManager::load_message_notification_groups_from_database(int32 int32 result = 0; for (auto &group_key : group_keys) { auto group_it = get_group_force(group_key.group_id, send_update); - CHECK(group_it != groups_.end()); + LOG_CHECK(group_it != groups_.end()) << call_notification_group_ids_ << " " << group_key.group_id << " " + << current_notification_group_id_; CHECK(group_it->first.dialog_id.is_valid()); if (!(last_loaded_notification_group_key_ < group_it->first)) { result++;