fix(opencode): show human-readable message for HTML error responses by rianvdm · Pull Request #15407 · anomalyco/opencode

@rianvdm

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.

@github-actions bot added needs:compliance

This means the issue will auto-close after 2 hours.

and removed needs:compliance

This means the issue will auto-close after 2 hours.

labels

Feb 27, 2026

Grappeggia pushed a commit to teamslop/slopcode that referenced this pull request

Mar 4, 2026

@rianvdm @Grappeggia