We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de7cde1 commit 084fa26Copy full SHA for 084fa26
test/integration/helpers.py
@@ -31,11 +31,11 @@ def retry_sending_request(
31
for attempt in range(1, retries + 1):
32
try:
33
return condition(*args, **kwargs)
34
- except ApiError:
+ except ApiError as e:
35
if attempt == retries:
36
- raise ApiError(
+ raise Exception(
37
"Api Error: Failed after all retry attempts"
38
- ) from None
+ ) from e
39
time.sleep(backoff)
40
41
0 commit comments