Skip to content

Commit

Permalink
Retry requests that return HTTP 500
Browse files Browse the repository at this point in the history
  • Loading branch information
keiththompson committed Jan 8, 2025
1 parent ac054a6 commit 282b658
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,7 @@ def __new__(self, stream: str) -> Mapping[str, Any]:
response_action=ResponseAction.IGNORE,
failure_type=FailureType.config_error,
error_message=f"Stream `{stream}`. Not available or missing.",
),
500: ErrorResolution(
response_action=ResponseAction.IGNORE,
failure_type=FailureType.config_error,
error_message=f"Stream `{stream}`. Entity might not be available or missing.",
),
)
# extend the mapping with more handable errors, if needed.
}

Expand Down

0 comments on commit 282b658

Please sign in to comment.