don't log tryInsert failures anymore as everything is logged in Store
This commit is contained in:
parent
1963635dd7
commit
b58e10521f
2 changed files with 0 additions and 3 deletions
|
@ -127,8 +127,6 @@ export class GapWriter {
|
|||
if (await txn.timelineEvents.tryInsert(eventStorageEntry)) {
|
||||
const eventEntry = new EventEntry(eventStorageEntry, this._fragmentIdComparer);
|
||||
directionalAppend(entries, eventEntry, direction);
|
||||
} else {
|
||||
log.log({l: `could not write event`, id: event.event_id}, log.level.Warn);
|
||||
}
|
||||
}
|
||||
return {entries, updatedEntries};
|
||||
|
|
|
@ -164,7 +164,6 @@ export class SyncWriter {
|
|||
}
|
||||
const couldInsert = await txn.timelineEvents.tryInsert(storageEntry, log);
|
||||
if (!couldInsert) {
|
||||
log.log({l: `could not write event, likely #504`, id: event.event_id}, log.level.Warn);
|
||||
continue;
|
||||
}
|
||||
const entry = new EventEntry(storageEntry, this._fragmentIdComparer);
|
||||
|
|
Reference in a new issue