Skip to content

Commit

Permalink
fix(http): reduce logging for Retry-After (#30450)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored Jul 29, 2024
1 parent 0f00853 commit 2274b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/http/retry-after.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function getRetryAfter(err: unknown): number | null {
}

if (err.response.statusCode < 400 || err.response.statusCode >= 500) {
logger.warn(
logger.debug(
{ url: err.response.url },
`Retry-After: unexpected status code ${err.response.statusCode}`,
);
Expand Down

0 comments on commit 2274b3b

Please sign in to comment.