mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Merge branch 'catch-update-stats' into 'main'
fix: catch updateStats() function Closes #221 See merge request soapbox-pub/ditto!513
This commit is contained in:
commit
3dd53f71e9
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ async function storeEvent(event: DittoEvent, signal?: AbortSignal): Promise<unde
|
|||
const store = await Storages.db();
|
||||
|
||||
await store.transaction(async (store, kysely) => {
|
||||
await updateStats({ event, store, kysely });
|
||||
await updateStats({ event, store, kysely }).catch((e) => console.error(e));
|
||||
await store.event(event, { signal });
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue