diff --git a/src/modules/rpc/cache.ts b/src/modules/rpc/cache.ts index 7261340..bd5218f 100644 --- a/src/modules/rpc/cache.ts +++ b/src/modules/rpc/cache.ts @@ -40,7 +40,9 @@ export class RPCCache extends EventEmitter { protocol: "lumeweb.rpccache", }); this._data.on("del", (key: string) => { - this.deleteItem(key); + try { + this.deleteItem(key); + } catch {} }); }