We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6ca72a9 + ac7e691 commit 8fa29b6Copy full SHA for 8fa29b6
src/handlers/retryHandler.ts
@@ -175,7 +175,6 @@ export const retryRequest = async (
175
retries: retryCount,
176
onRetry: (error: Error, attempt: number) => {
177
lastAttempt = attempt;
178
- console.warn(`Failed in Retry attempt ${attempt}. Error: ${error}`);
179
},
180
randomize: false,
181
}
@@ -206,9 +205,6 @@ export const retryRequest = async (
206
205
headers: error.headers,
207
});
208
209
- console.warn(
210
- `Tried ${lastAttempt ?? 1} time(s) but failed. Error: ${JSON.stringify(error)}`
211
- );
212
213
return {
214
response: lastResponse as Response,
0 commit comments