누락된 throw 추가

This commit is contained in:
static
2025-01-13 03:44:09 +09:00
parent b8c7cda4d5
commit 8a620fac78

View File

@@ -31,6 +31,7 @@ export const registerInitialHsk = async (
if (e instanceof SqliteError && e.code === "SQLITE_CONSTRAINT_PRIMARYKEY") {
throw new IntegrityError("HSK already registered");
}
throw e;
}
},
{ behavior: "exclusive" },