FIX 修改不规范的返回值
This commit is contained in:
parent
2d9e351f4c
commit
903a58956a
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue