mirror of
https://github.com/JetSprow/J-Board-Lite.git
synced 2026-05-01 01:14:10 +05:30
fix: include actionable error details
This commit is contained in:
@@ -58,7 +58,7 @@ async function generateUniqueInviteCode(): Promise<string> {
|
||||
}
|
||||
}
|
||||
|
||||
throw new Error("邀请码生成失败,请稍后重试");
|
||||
throw new Error("邀请码生成失败:连续 10 次生成的随机码都已存在,请稍后重试");
|
||||
}
|
||||
|
||||
export async function updateAccountProfile(formData: FormData) {
|
||||
|
||||
Reference in New Issue
Block a user