mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 20:20:57 +00:00
Improve Auth error messaging (#1358)
This commit is contained in:
parent
104f23da90
commit
0abd2a644e
9 changed files with 57 additions and 31 deletions
|
|
@ -49,7 +49,7 @@ export const useAuthCommand = (
|
|||
const errorMessage =
|
||||
settings.merged.selectedAuthType ===
|
||||
AuthType.LOGIN_WITH_GOOGLE_PERSONAL
|
||||
? `Failed to login. Ensure your Google account is not an enterprise account.
|
||||
? `Failed to login. Ensure your Google account is not a Workspace account.
|
||||
Message: ${getErrorMessage(e)}`
|
||||
: `Failed to login. Message: ${getErrorMessage(e)}`;
|
||||
setAuthError(errorMessage);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue