mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
minor lint fix (#45)
This commit is contained in:
@@ -29,7 +29,7 @@ async function main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// --- Global Unhandled Rejection Handler ---
|
// --- Global Unhandled Rejection Handler ---
|
||||||
process.on('unhandledRejection', (reason, promise) => {
|
process.on('unhandledRejection', (reason, _promise) => {
|
||||||
// Check if this is the known 429 ClientError that sometimes escapes
|
// Check if this is the known 429 ClientError that sometimes escapes
|
||||||
// this is a workaround for a specific issue with the way we are calling gemini
|
// this is a workaround for a specific issue with the way we are calling gemini
|
||||||
// where a 429 error is thrown but not caught, causing an unhandled rejection
|
// where a 429 error is thrown but not caught, causing an unhandled rejection
|
||||||
|
|||||||
Reference in New Issue
Block a user