Frontend API errors fail silently — add catch blocks and user-facing error messages #15
Loading…
Reference in a new issue
No description provided.
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?
Problem
Several async functions in
OpportunitiesView.vue(and likely other views) have nocatchblock. When the API returns an error, the UI does nothing — no toast, no status change, no console output visible to the user.Example
User clicks "Mark as posted", nothing happens, no feedback. Root cause was a 500 from the API — invisible to the user.
Fix
catchblocks to all async action functions in the frontendCampaignDetail.vue,CampaignList.vue,PostsView.vuefor the same patternAcceptance criteria
OpportunitiesView.vuehave catch + user-visible error