Skip to content

Change the retry error condition#380

Merged
michael-richey merged 1 commit intomainfrom
michael.richey/error-return
Aug 20, 2025
Merged

Change the retry error condition#380
michael-richey merged 1 commit intomainfrom
michael.richey/error-return

Conversation

@michael-richey
Copy link
Copy Markdown
Collaborator

What does this PR do?

Update some debug statements to warnings and error out differently when the retry_count reaches max

Description of the Change

Added an if statement to check if we will reach max_recounts on the next loop and throw a CustomClientHTTPError, this mimics the if statement above it for timeouts.

@michael-richey michael-richey marked this pull request as ready for review August 20, 2025 17:14
@michael-richey michael-richey requested a review from a team as a code owner August 20, 2025 17:14
@michael-richey michael-richey merged commit 0671dc2 into main Aug 20, 2025
22 of 23 checks passed
@michael-richey michael-richey deleted the michael.richey/error-return branch August 20, 2025 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants