modified: better error log when failed to update comfyui

https://github.com/ltdrdata/ComfyUI-Manager/issues/1576
This commit is contained in:
Dr.Lt.Data
2025-03-02 17:42:31 +09:00
parent 6969557693
commit e71e68e298
4 changed files with 13 additions and 6 deletions

View File

@@ -467,8 +467,8 @@ async def task_worker():
res = core.update_path(repo_path)
if res == "fail":
logging.error("ComfyUI update fail: The installed ComfyUI does not have a Git repository.")
return "The installed ComfyUI does not have a Git repository."
logging.error("ComfyUI update failed")
return "fail"
elif res == "updated":
if is_stable:
logging.info("ComfyUI is updated to latest stable version.")