Skip to content

Comments

ui: prefer backend message field for API errors#62

Merged
gabelul merged 2 commits intomasterfrom
feat/spec-start-ux
Feb 3, 2026
Merged

ui: prefer backend message field for API errors#62
gabelul merged 2 commits intomasterfrom
feat/spec-start-ux

Conversation

@gabelul
Copy link
Owner

@gabelul gabelul commented Feb 3, 2026

Spec-creation UX polish (in the spirit of upstream surfacing start errors).\n\nChanges:\n- When backend returns structured FastAPI errors (detail as object), prefer detail.message for display instead of JSON-stringifying the whole object.\n\nResult:\n- Cleaner, user-visible error messages for common 409s (setup required, git dirty, etc.).

@gabelul gabelul merged commit bb69e9a into master Feb 3, 2026
3 checks passed
@gabelul gabelul deleted the feat/spec-start-ux branch February 3, 2026 13:58
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