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
4 changes: 4 additions & 0 deletions optimade/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ def get_child_database_links(
) from exc
except (requests.ConnectionError, requests.Timeout) as exc:
raise RuntimeError(f"Unable to connect to provider {provider['id']}") from exc
except requests.TooManyRedirects as exc:
raise RuntimeError(
f"Too many redirects from provider {provider['id']}"
) from exc

if links.status_code != 200:
raise RuntimeError(
Expand Down
Loading