Improve logging.
This commit is contained in:
parent
38fe0cc6fc
commit
a5ed61393c
@ -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();
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user