From 8ac59dc77daedb261fc850829c25cf636eed6690 Mon Sep 17 00:00:00 2001 From: levlam Date: Wed, 5 Aug 2020 00:13:18 +0300 Subject: [PATCH] Improve update output to log. GitOrigin-RevId: 7d61ef046b867a4f1c72f548deb93e208830edfd --- 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 34a3534db..bc98eeb59 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -6391,7 +6391,7 @@ void MessagesManager::add_pending_channel_update(DialogId dialog_id, tl_object_p auto channel_id = dialog_id.get_channel_id(); if (!td_->contacts_manager_->have_channel(channel_id)) { // do not create dialog if there is no info about the channel - LOG(WARNING) << "There is no info about " << channel_id << ", so ignore " << to_string(update); + LOG(WARNING) << "There is no info about " << channel_id << ", so ignore " << oneline(to_string(update)); return; }