mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
Improve Auth error messaging (#1358)
This commit is contained in:
committed by
GitHub
parent
104f23da90
commit
0abd2a644e
@@ -292,8 +292,7 @@ export class GeminiClient {
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
const parsedJson = JSON.parse(text);
|
||||
return parsedJson;
|
||||
return JSON.parse(text);
|
||||
} catch (parseError) {
|
||||
await reportError(
|
||||
parseError,
|
||||
|
||||
Reference in New Issue
Block a user