When a retry-decorated function finishes the maximum amount of retries and still throws an error, tenacity throws an error with type RetryError, so I added that to the list of retryable errors
[!IMPORTANT]
Added RetryError to RETRYABLE_ERROR_TYPES in tasks.py to handle exhausted retry cases.
Error Handling:
Added RetryError to RETRYABLE_ERROR_TYPES in tasks.py to handle cases where a retry-decorated function exhausts retries and throws this error.
This description was created by for d20007767bd9cce0f0bcaa8c7c6312bf33efcfda. It will automatically update as commits are pushed.
When a
retry
-decorated function finishes the maximum amount of retries and still throws an error,tenacity
throws an error with typeRetryError
, so I added that to the list of retryable errors