We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 129ac03 commit 34fd27fCopy full SHA for 34fd27f
cid/common.py
@@ -327,8 +327,8 @@ def load_catalog(self, catalog_url):
327
'''
328
try:
329
catalog = yaml.safe_load(self.get_page(catalog_url).text)
330
- except requests.exceptions.HTTPError as exc:
331
- logger.warning(f'Failed to load catalog url: {exc}')
+ except (requests.exceptions.RequestException, yaml.error.MarkedYAMLError) as exc:
+ logger.warning(f'Failed to load a catalog url: {exc}')
332
logger.debug(exc, exc_info=True)
333
return
334
for resource_ref in catalog.get('Resources', []):
0 commit comments