Fix error propagation: surface API validation messages in the UI #28
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
End-to-end fix for error propagation. Business-rule validation exceptions are swallowed at two points before they reach the browser, the global exception handler uses an inconsistent response shape, and the frontend never reads the error body.
Why
The user sees a generic message like 'Job matching failed' even when the API has a specific, actionable reason such as 'Could not extract enough job text. Paste the job description manually.'
Changes
Success criteria
Time tracking
Started: 2026-05-28 09:36 UTC
Merged via PR #29. All four failure handlers (CV upload, CV match, contact form, subscribe form) now surface upstream 4xx error messages from the server. Completed: 2026-05-28.