Improve API error messages: show HTTP status, catch network errors #6

Merged
josh merged 1 commits from feature/auth-invites into main 2026-04-27 20:14:13 -04:00
Owner

"Unknown error" was hiding the actual HTTP status (likely 502 from
nginx). Now shows "HTTP 502 Bad Gateway" etc. Network TypeErrors
(connection refused) also get a clear message.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

"Unknown error" was hiding the actual HTTP status (likely 502 from nginx). Now shows "HTTP 502 Bad Gateway" etc. Network TypeErrors (connection refused) also get a clear message. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
josh added 1 commit 2026-04-27 20:14:10 -04:00
"Unknown error" was hiding the actual HTTP status (likely 502 from
nginx). Now shows "HTTP 502 Bad Gateway" etc. Network TypeErrors
(connection refused) also get a clear message.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
josh merged commit 01d9703aec into main 2026-04-27 20:14:13 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: josh/AIHostingTycoon#6