Skip to content

Commit aa8e3f3

Browse files
committed
Typer exit error when publish fails.
1 parent df364a1 commit aa8e3f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comfy_cli/command/custom_nodes/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def publish(
681681
upload_file_to_signed_url(signed_url, zip_filename)
682682
except Exception as e:
683683
ui.display_error_message({str(e)})
684-
return
684+
typer.Exit(code=1)
685685

686686

687687
@app.command("init", help="Init scaffolding for custom node")

0 commit comments

Comments
 (0)