refactor: update the error message

This commit is contained in:
Kevin Yue committed 2023-08-30 13:41:51 +08:00
1 parent acf7ef28ab
commit 3098d1170f
1 file changed
+1 -1
+1 -1
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