Merge pull request #61 from BennyKok/node-error-no-throw

block on bad prompt
This commit is contained in:
Nick Kao 2024-08-08 10:01:33 -07:00 committed by GitHub
commit f362671041
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -349,7 +349,7 @@ async def comfy_deploy_run(request):
status = 200
if "node_errors" in res and res["node_errors"]:
if "node_errors" in res and res["node_errors"] is not None:
# Even tho there are node_errors it can still be run
status = 400
await update_run_with_output(prompt_id, {
@ -410,7 +410,7 @@ async def stream_prompt(data):
status = 200
if "node_errors" in res and res["node_errors"]:
if "node_errors" in res and res["node_errors"] is not None:
# Even tho there are node_errors it can still be run
status = 400
await update_run_with_output(prompt_id, {