Skip to content

Commit ac7e691

Browse files
authored
Merge pull request #1226 from Portkey-AI/chore/remove-redundant-console-logs
chore: remove redundant console logs
2 parents 95c62a1 + 2b8df19 commit ac7e691

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/handlers/retryHandler.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ export const retryRequest = async (
175175
retries: retryCount,
176176
onRetry: (error: Error, attempt: number) => {
177177
lastAttempt = attempt;
178-
console.warn(`Failed in Retry attempt ${attempt}. Error: ${error}`);
179178
},
180179
randomize: false,
181180
}
@@ -206,9 +205,6 @@ export const retryRequest = async (
206205
headers: error.headers,
207206
});
208207
}
209-
console.warn(
210-
`Tried ${lastAttempt ?? 1} time(s) but failed. Error: ${JSON.stringify(error)}`
211-
);
212208
}
213209
return {
214210
response: lastResponse as Response,

0 commit comments

Comments
 (0)