From d4a701f48adea6700035cbfbb64b7d526203af4d Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 15 Dec 2019 23:33:58 +0300 Subject: [PATCH] Add force_create_dialog debug. GitOrigin-RevId: 31c3d381ea276519a8c93732ad88c6e99ffec295 --- 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 99418e67..2b4bedb9 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -27053,7 +27053,7 @@ MessageId MessagesManager::get_message_id_by_random_id(Dialog *d, int64 random_i } void MessagesManager::force_create_dialog(DialogId dialog_id, const char *source, bool force_update_dialog_pos) { - CHECK(dialog_id.is_valid()); + LOG_CHECK(dialog_id.is_valid()) << source; Dialog *d = get_dialog_force(dialog_id); if (d == nullptr) { LOG(INFO) << "Force create " << dialog_id << " from " << source;