also log session in after sync completed as detail level

This commit is contained in:
Bruno Windels 2021-02-18 13:07:52 +01:00
parent dea11845f5
commit 8539b0c893

View file

@ -163,7 +163,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)); await log.wrap("session", log => this._session.afterSyncCompleted(sessionChanges, isCatchupSync, log), log.level.Detail);
} catch (err) {} // error is logged, but don't fail sessionPromise } catch (err) {} // error is logged, but don't fail sessionPromise
})(); })();