rswag-online/frontend/app/upload
Jeff Emmett 3a02c84b94 fix: handle non-JSON error responses in design pipeline
Frontend was crashing with "Unexpected token 'I'" when the backend
returned plain text errors (e.g. "Internal Server Error" from proxy).
Now safely falls back to response.text() when JSON parsing fails.
Also prevents backend from swallowing HTTPException in catch-all.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 17:16:31 -08:00
..
page.tsx fix: handle non-JSON error responses in design pipeline 2026-02-25 17:16:31 -08:00