Improve logging.

This commit is contained in:
levlam 2022-02-17 18:42:50 +03:00
parent 38fe0cc6fc
commit a5ed61393c
2 changed files with 2 additions and 0 deletions

View File

@ -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();
}

View File

@ -886,6 +886,7 @@ class CliClient final : public Actor {
on_file_generation_start(*static_cast<const td_api::updateFileGenerationStart *>(result.get()));
break;
case td_api::updateAuthorizationState::ID:
LOG(WARNING) << result_str;
on_update_autorization_state(
std::move(static_cast<td_api::updateAuthorizationState *>(result.get())->authorization_state_));
break;