diff --git a/js/packages/crsqlite-wasm/src/serialize.ts b/js/packages/crsqlite-wasm/src/serialize.ts index 886f10fbc..28faa0179 100644 --- a/js/packages/crsqlite-wasm/src/serialize.ts +++ b/js/packages/crsqlite-wasm/src/serialize.ts @@ -45,12 +45,11 @@ export function serialize( if (key) { cache?.set(key, res); - // this catch doesn't swallow, the exception still makes it to the user - // of res as we return res not the caught variation of res. res .finally(() => cache?.delete(key)) .catch((e) => { - console.error(e); + // this catch doesn't swallow, the exception still makes it to the user + // of res as we return res rather than the caught variation of res. }); }