*Wrap cache delete in try/catch
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
This commit is contained in:
parent
4bb0636a8d
commit
616b74a820
|
@ -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 {}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue