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
parent a50da0b2c8
commit 728bae404f

View File

@ -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,