mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
fix: catch updateStats() function
This commit is contained in:
parent
e0b966bb6d
commit
42371bcc31
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();
|
const store = await Storages.db();
|
||||||
|
|
||||||
await store.transaction(async (store, kysely) => {
|
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 });
|
await store.event(event, { signal });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue