refactor: update the error message

This commit is contained in:
Kevin Yue 2023-08-30 13:41:51 +08:00
parent acf7ef28ab
commit 3098d1170f

View File

@ -58,7 +58,7 @@ export const loginPortalAtom = atom(
}
if (userAuthCookie === "empty" || prelogonUserAuthCookie === "empty") {
throw new Error("Failed to login, please try again");
throw new Error("Got empty user auth cookie");
}
// Here, we have got the portal config successfully, refresh the cached portal data