fix(cnr): propagate asyncio.TimeoutError in _get_cnr_data for correct bubble up

This commit is contained in:
craftingmod 2026-06-30 07:28:05 +09:00
parent 5427efda58
commit f3c003dd20

View File

@ -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)
return json_obj['nodes']
except asyncio.TimeoutError:
raise
except Exception as e:
logging.error(f"[ComfyUI-Manager] Cannot connect to comfyregistry or failed sync: {e}")
if cached_data is not None: