mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-12 10:04:20 +01:00
fix: catch updateStats() function
This commit is contained in:
@@ -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 });
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user