From a5ed61393ca3bff390518a49572cd054fa23977d Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 17 Feb 2022 18:42:50 +0300 Subject: [PATCH] Improve logging. --- td/telegram/StickersManager.cpp | 1 + td/telegram/cli.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/td/telegram/StickersManager.cpp b/td/telegram/StickersManager.cpp index ce8462f2f..97a8ab4cb 100644 --- a/td/telegram/StickersManager.cpp +++ b/td/telegram/StickersManager.cpp @@ -3231,6 +3231,7 @@ void StickersManager::load_reactions() { LOG(INFO) << "Successfully loaded " << reactions_.reactions_.size() << " available reactions"; send_closure(G()->td(), &Td::send_update, get_update_reactions_object()); + LOG(INFO) << "Successfully sent updateReactions"; update_active_reactions(); } diff --git a/td/telegram/cli.cpp b/td/telegram/cli.cpp index b41006303..a422d6493 100644 --- a/td/telegram/cli.cpp +++ b/td/telegram/cli.cpp @@ -886,6 +886,7 @@ class CliClient final : public Actor { on_file_generation_start(*static_cast(result.get())); break; case td_api::updateAuthorizationState::ID: + LOG(WARNING) << result_str; on_update_autorization_state( std::move(static_cast(result.get())->authorization_state_)); break;