Skip to content

fix: prevent gallery browser-open failures from crashing TUI#19

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

fix: prevent gallery browser-open failures from crashing TUI#19
cursor[bot] wants to merge 1 commit intomainfrom
cursor/critical-bug-inspection-3185

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor bot commented Mar 24, 2026

Fixes a critical crash path in Gallery Detail where pressing o could trigger an unhandled rejection (fatal in Node 22+) when no browser opener is available. Adds a safe browser-open helper and unit tests to ensure failures are surfaced as UI errors instead of terminating the process.

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