Skip to content

fix: prevent setup from exiting when optional demo generation fails#14

Draft
cursor[bot] wants to merge 1 commit intomainfrom
cursor/critical-bug-inspection-d05c
Draft

fix: prevent setup from exiting when optional demo generation fails#14
cursor[bot] wants to merge 1 commit intomainfrom
cursor/critical-bug-inspection-d05c

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor bot commented Mar 20, 2026

Setup currently calls handleGenerate() for a demo image, but that helper exits the process on API errors (e.g. 402/no credits), aborting setup despite being marked non-critical. This change runs the demo via generateImage with local error handling so setup completes reliably while still showing a warning when demo generation fails.

Open in Web View Automation 

Co-authored-by: Dylan Boudro <starmorph@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant