*Wrap cache delete in try/catch
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Derrick Hammer 2022-11-28 02:06:39 -05:00
parent 4bb0636a8d
commit 616b74a820
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,9 @@ export class RPCCache extends EventEmitter {
protocol: "lumeweb.rpccache", protocol: "lumeweb.rpccache",
}); });
this._data.on("del", (key: string) => { this._data.on("del", (key: string) => {
try {
this.deleteItem(key); this.deleteItem(key);
} catch {}
}); });
} }