diff --git a/src/matrix/room/timeline/persistence/GapWriter.js b/src/matrix/room/timeline/persistence/GapWriter.js index be14922a..cfcebf7e 100644 --- a/src/matrix/room/timeline/persistence/GapWriter.js +++ b/src/matrix/room/timeline/persistence/GapWriter.js @@ -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}; diff --git a/src/matrix/room/timeline/persistence/SyncWriter.js b/src/matrix/room/timeline/persistence/SyncWriter.js index 35a5dbef..af6f55bc 100644 --- a/src/matrix/room/timeline/persistence/SyncWriter.js +++ b/src/matrix/room/timeline/persistence/SyncWriter.js @@ -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);