buildmymcpserver/apps
Marco Sadjadi 3dc65e4f4d
All checks were successful
Deploy to Production / deploy (push) Successful in 1m20s
fix(ux): human-readable API errors instead of raw api_error_NNN codes
apiFetch threw new Error(api_error_<status>), so any UI fallback to (e).message showed a cryptic code, and some flows surfaced bare codes like slug_taken. Added a central humanizeError() in lib/api.ts: prefers the backend detail sentence, then a mapped friendly message per known code, then a status-based fallback - never a raw code. apiFetch now sets the thrown error message via it, so every (e).message fallback across the app becomes a real sentence. Wizard analyze/build now use humanizeError directly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-31 21:08:39 +02:00
..
api feat(security): block credentials from reaching the LLM via prompt secret scan 2026-05-31 19:52:16 +02:00
generator @ 2026-05-29 20:56:30 +02:00
runner-template @ 2026-05-29 20:56:30 +02:00
web fix(ux): human-readable API errors instead of raw api_error_NNN codes 2026-05-31 21:08:39 +02:00