More verbose logging in on_get_contacts_finished.

GitOrigin-RevId: 07de09f9ac052dd221645f97b28db884e1fc4970
This commit is contained in:
levlam 2018-02-03 03:17:36 +03:00
parent 7927df3a65
commit cc091f0a2c

View File

@ -4499,7 +4499,7 @@ void ContactsManager::on_load_contacts_from_database(string value) {
} }
void ContactsManager::on_get_contacts_finished(size_t expected_contact_count) { void ContactsManager::on_get_contacts_finished(size_t expected_contact_count) {
LOG(INFO) << "Finished to get contacts"; LOG(INFO) << "Finished to get " << contacts_hints_.size() << " contacts out of " << expected_contact_count;
are_contacts_loaded_ = true; are_contacts_loaded_ = true;
auto promises = std::move(load_contacts_queries_); auto promises = std::move(load_contacts_queries_);
load_contacts_queries_.clear(); load_contacts_queries_.clear();