Skip to content

Improve Copilot token error diagnostics#265

Open
asheghi wants to merge 1 commit into
ericc-ch:masterfrom
asheghi:improve-token-error-diagnostics
Open

Improve Copilot token error diagnostics#265
asheghi wants to merge 1 commit into
ericc-ch:masterfrom
asheghi:improve-token-error-diagnostics

Conversation

@asheghi

@asheghi asheghi commented Jun 19, 2026

Copy link
Copy Markdown

Summary

  • include HTTP status details in HTTPError messages
  • safely parse HTTP error response bodies for JSON, text, and empty responses
  • log actionable Copilot token fetch failures during setup and refresh

Verification

  • bun test
  • bun run typecheck
  • bun run lint
  • bun run build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant