diff --git a/src/service/registry.ts b/src/service/registry.ts index b1844cd..5774bad 100644 --- a/src/service/registry.ts +++ b/src/service/registry.ts @@ -194,7 +194,10 @@ export class RegistryService { } async getFromDB(pk: Uint8Array): Promise { - const val = await this.db?.get(stringifyBytes(pk)); + let val; + try { + val = await this.db?.get(stringifyBytes(pk)); + } catch {} if (val) { return this.deserializeRegistryEntry(val);