forked from mystiq/hydrogen-web
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)) {
|
if (await txn.timelineEvents.tryInsert(eventStorageEntry)) {
|
||||||
const eventEntry = new EventEntry(eventStorageEntry, this._fragmentIdComparer);
|
const eventEntry = new EventEntry(eventStorageEntry, this._fragmentIdComparer);
|
||||||
directionalAppend(entries, eventEntry, direction);
|
directionalAppend(entries, eventEntry, direction);
|
||||||
} else {
|
|
||||||
log.log({l: `could not write event`, id: event.event_id}, log.level.Warn);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return {entries, updatedEntries};
|
return {entries, updatedEntries};
|
||||||
|
|
|
@ -164,7 +164,6 @@ export class SyncWriter {
|
||||||
}
|
}
|
||||||
const couldInsert = await txn.timelineEvents.tryInsert(storageEntry, log);
|
const couldInsert = await txn.timelineEvents.tryInsert(storageEntry, log);
|
||||||
if (!couldInsert) {
|
if (!couldInsert) {
|
||||||
log.log({l: `could not write event, likely #504`, id: event.event_id}, log.level.Warn);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
const entry = new EventEntry(storageEntry, this._fragmentIdComparer);
|
const entry = new EventEntry(storageEntry, this._fragmentIdComparer);
|
||||||
|
|
Loading…
Reference in a new issue