log session afterSyncCompleted with normal log level

This commit is contained in:
Bruno Windels 2022-11-10 17:26:21 +01:00
parent 47d557b38d
commit 860f435855

View File

@ -158,7 +158,7 @@ export class Sync {
const isCatchupSync = this._status.get() === SyncStatus.CatchupSync; const isCatchupSync = this._status.get() === SyncStatus.CatchupSync;
const sessionPromise = (async () => { const sessionPromise = (async () => {
try { try {
await log.wrap("session", log => this._session.afterSyncCompleted(sessionChanges, isCatchupSync, log), log.level.Detail); await log.wrap("session", log => this._session.afterSyncCompleted(sessionChanges, isCatchupSync, log));
} catch (err) {} // error is logged, but don't fail sessionPromise } catch (err) {} // error is logged, but don't fail sessionPromise
})(); })();
const roomsPromises = roomStates.map(async rs => { const roomsPromises = roomStates.map(async rs => {