log remaining specific room entries as detailed

This commit is contained in:
Bruno Windels 2021-02-18 12:39:29 +01:00
parent 9f9de0988e
commit e590b573fb
2 changed files with 2 additions and 2 deletions

View file

@ -172,7 +172,7 @@ export class Sync {
});
const roomsPromises = roomsNeedingAfterSyncCompleted.map(async rs => {
try {
await log.wrap("room", log => rs.room.afterSyncCompleted(rs.changes, log));
await log.wrap("room", log => rs.room.afterSyncCompleted(rs.changes, log), log.level.Detail);
} catch (err) {} // error is logged, but don't fail roomsPromises
});
// run everything in parallel,

View file

@ -211,7 +211,7 @@ export class Room extends EventEmitter {
log.set("id", this.id);
preparation.decryptChanges = await preparation.decryptPreparation.decrypt();
preparation.decryptPreparation = null;
});
}, parentLog.level.Detail);
}
}