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
7 changes: 6 additions & 1 deletion esmvalcore/esgf/_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,12 @@ def _search_index_nodes(facets):
)
FIRST_ONLINE_INDEX_NODE = url
return results
except requests.exceptions.Timeout as error:
except (
requests.exceptions.ConnectionError,
requests.exceptions.HTTPError,
requests.exceptions.Timeout,
) as error:
logger.debug("Unable to connect to %s due to %s", url, error)
errors.append(error)

raise FileNotFoundError("Failed to search ESGF, unable to connect:\n" +
Expand Down