mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-07-09 16:07:10 +08:00
fix(cnr): propagate asyncio.TimeoutError in _get_cnr_data for correct bubble up
This commit is contained in:
parent
5427efda58
commit
f3c003dd20
@ -220,6 +220,8 @@ async def _get_cnr_data(sync_mode=None, dont_wait=True, **kwargs):
|
|||||||
}
|
}
|
||||||
manager_util.save_to_cache(uri, cache_to_save)
|
manager_util.save_to_cache(uri, cache_to_save)
|
||||||
return json_obj['nodes']
|
return json_obj['nodes']
|
||||||
|
except asyncio.TimeoutError:
|
||||||
|
raise
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error(f"[ComfyUI-Manager] Cannot connect to comfyregistry or failed sync: {e}")
|
logging.error(f"[ComfyUI-Manager] Cannot connect to comfyregistry or failed sync: {e}")
|
||||||
if cached_data is not None:
|
if cached_data is not None:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user