minor lint fix (#45)
This commit is contained in:
parent
e5a50d0154
commit
f3669f20a9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue