Bug 1348727 - Write validation summary information to the sync logs r=tcsc

MozReview-Commit-ID: GRf0DeDhFqP

--HG--
extra : rebase_source : de2b49d55f4cbb4926475851deae298a16423ec9
This commit is contained in:
Jeongkyu Kim 2017-06-24 02:08:43 +09:00
Родитель a50da0b2c8
Коммит 728bae404f
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -843,6 +843,13 @@ class BookmarkValidator {
let result = await this.compareServerWithClient(serverState, clientTree);
let end = Date.now();
let duration = end - start;
engine._log.debug(`Validated bookmarks in ${duration}ms`);
engine._log.debug(`Problem summary`);
for (let { name, count } of result.problemData.getSummary()) {
engine._log.debug(` ${name}: ${count}`);
}
return {
duration,
version: this.version,