mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-14 22:08:45 +00:00
누락된 throw 추가
This commit is contained in:
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user