Skip to content

Commit

Permalink
[Community] fix wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Jul 4, 2024
1 parent 6c0994b commit 2a60a25
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ async def httpx_retrier_wrapper(*args, **kwargs):
# no more attempts
if resp:
resp.raise_for_status()
return resp
else:
raise errors.RequestError(f"Failed to execute {f.__name__}(args={args[1:]} kwargs={kwargs})")
return httpx_retrier_wrapper
Expand Down

0 comments on commit 2a60a25

Please sign in to comment.