From e13a863af73ffe78434c53892542a06e67dff618 Mon Sep 17 00:00:00 2001 From: BennyKok Date: Fri, 29 Dec 2023 17:45:51 +0800 Subject: [PATCH] fix(plugin): ignore when node_errors is empty --- custom_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_routes.py b/custom_routes.py index 861fb3a..e2a2e26 100644 --- a/custom_routes.py +++ b/custom_routes.py @@ -124,7 +124,7 @@ async def comfy_deploy_run(request): } }) - if "node_errors" in res: + if "node_errors" in res and res["node_errors"]: status = 400 await update_run_with_output(prompt_id, { "error": {