FIX 修改不规范的返回值

This commit is contained in:
kyj@bowong.ai 2025-05-20 11:00:46 +08:00
parent 2d9e351f4c
commit 903a58956a
2 changed files with 2 additions and 2 deletions

View File

@ -390,7 +390,7 @@ with comfyui_image.imports():
except Exception as e:
# 异常处理 - 使用捕获的异常对象e
j = {"status": "fail", "msg": str(e)}
j = {"status": "failed", "msg": str(e)}
logger.error(f"处理异常: {str(e)}")
try:

View File

@ -359,7 +359,7 @@ with comfyui_latentsync_1_5_image.imports():
except Exception as e:
# 异常处理 - 使用捕获的异常对象e
j = {"status": "fail", "msg": str(e)}
j = {"status": "failed", "msg": str(e)}
logger.error(f"处理异常: {str(e)}")
try: