fix(opencode): show human-readable message for HTML error responses by rianvdm · Pull Request #15407 · anomalyco/opencode
When a gateway or proxy (e.g. Cloudflare Access) returns an HTML error page instead of JSON, the error handler was dumping raw HTML markup into the terminal. This detects HTML response bodies and substitutes a helpful, actionable message instead.
bot
added
needs:compliance
and removed needs:compliance
This means the issue will auto-close after 2 hours.labels
Feb 27, 2026This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters