diff --git a/client/src/index.ts b/client/src/index.ts index 21d0f13..44281fd 100644 --- a/client/src/index.ts +++ b/client/src/index.ts @@ -82,7 +82,11 @@ const abstractCache = ({ const keyResult = key(...x); return read(keyResult).catch(() => f(...x).then((y) => { - enrollPromise(write(keyResult, y)); + enrollPromise( + write(keyResult, y).catch((e) => { + console.error("failed writing to rmmbr cache", e); + }), + ); return y; }) );