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> |
||
|---|---|---|
| .. | ||
| page.tsx | ||