mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
feat: add custom message for 429 errors (#1366)
This commit is contained in:
@@ -128,7 +128,12 @@ export async function runNonInteractive(
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(parseAndFormatApiError(error));
|
||||
console.error(
|
||||
parseAndFormatApiError(
|
||||
error,
|
||||
config.getContentGeneratorConfig().authType,
|
||||
),
|
||||
);
|
||||
process.exit(1);
|
||||
} finally {
|
||||
if (isTelemetrySdkInitialized()) {
|
||||
|
||||
Reference in New Issue
Block a user