Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/integration/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ def retry_sending_request(
for attempt in range(1, retries + 1):
try:
return condition(*args, **kwargs)
except ApiError:
except ApiError as e:
if attempt == retries:
raise ApiError(
raise Exception(
"Api Error: Failed after all retry attempts"
) from None
) from e
time.sleep(backoff)


Expand Down