fix: updated exception handling for requests

api-breakage
Morty Space 4 years ago
parent 12d0c250a0
commit 4e52199a9f
  1. 3
      src/cryptocom/exchange/api.py

@ -222,8 +222,7 @@ class ApiProvider:
)
except (
asyncio.TimeoutError,
httpx.ReadError,
httpx.ConnectError,
httpx.HTTPError,
json.JSONDecodeError,
) as exc:
if count == self.retries:

Loading…
Cancel
Save