From 2bda551a74ea93ac93ee2be2640e06adf471cf55 Mon Sep 17 00:00:00 2001 From: CNCF-bot Date: Wed, 12 Jul 2023 17:41:53 +0100 Subject: [PATCH] fix --- tools/apiClients.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/apiClients.js b/tools/apiClients.js index bda7fe32..6db15a95 100644 --- a/tools/apiClients.js +++ b/tools/apiClients.js @@ -75,6 +75,8 @@ const requestWithRetry = async ({ attempts = maxAttempts, resolveWithFullRespons ].join(' ') if (key === keys[keys.length - 1]) { console.info(message); + } else { + console.info(`Failed to use key #${keys.indexOf(key)} of ${keys.length}`); } const rateLimited = retryStatuses.includes(status) const dnsError = error.code === 'ENOTFOUND' && error.syscall === 'getaddrinfo'