Skip to content

Commit

Permalink
ENH: Add ConnectError to retry allowlist (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Nov 28, 2022
1 parent 1933d06 commit 3b7e7d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openneuro/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
httpx.ConnectTimeout,
httpx.ReadTimeout,
httpx.ReadError,
httpx.ConnectError, # [Errno -3] Temporary failure in name resolution

# For GraphQL requests via sgqlc (doesn't support httpx)
requests.exceptions.ConnectTimeout,
Expand Down

0 comments on commit 3b7e7d1

Please sign in to comment.