From 04e3bfaf5030bb6c23371700f2d94a664fb4b31e Mon Sep 17 00:00:00 2001 From: levlam Date: Wed, 31 Jan 2018 15:06:19 +0300 Subject: [PATCH] Add debug logging. GitOrigin-RevId: 0efe2f3134b351d633d2df5e78791a07e212cf82 --- td/telegram/MessagesManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index cbfe94cba..747c0dcbb 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -2832,7 +2832,7 @@ class GetNotifySettingsQuery : public Td::ResultHandler { void send(NotificationSettingsScope scope) { scope_ = scope; auto input_notify_peer = td->messages_manager_->get_input_notify_peer(scope); - CHECK(input_notify_peer != nullptr); + CHECK(input_notify_peer != nullptr) << scope; send_query(G()->net_query_creator().create( create_storer(telegram_api::account_getNotifySettings(std::move(input_notify_peer))))); }