refactor: remove try catch

This commit is contained in:
P. Reis 2025-03-05 20:15:16 -03:00
parent 1eb1f4206d
commit 9e726baa2a

View file

@ -293,7 +293,6 @@ export class DittoRelayStore implements NRelay {
return; return;
} }
try {
await db.kysely.updateTable('author_stats').set({ await db.kysely.updateTable('author_stats').set({
nip05: null, nip05: null,
nip05_domain: null, nip05_domain: null,
@ -301,9 +300,6 @@ export class DittoRelayStore implements NRelay {
nip05_last_verified_at: author.created_at, nip05_last_verified_at: author.created_at,
}).where('pubkey', '=', author.pubkey) }).where('pubkey', '=', author.pubkey)
.execute(); .execute();
} catch {
// nothing hahah
}
} }
/** Parse kind 0 metadata and track indexes in the database. */ /** Parse kind 0 metadata and track indexes in the database. */