Skip to content

Better error info#8700

Merged
alexr00 merged 1 commit intomainfrom
alexr00/romantic-condor
Apr 24, 2026
Merged

Better error info#8700
alexr00 merged 1 commit intomainfrom
alexr00/romantic-condor

Conversation

@alexr00
Copy link
Copy Markdown
Member

@alexr00 alexr00 commented Apr 24, 2026

No description provided.

Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings April 24, 2026 08:52
@alexr00 alexr00 enabled auto-merge (squash) April 24, 2026 08:52
@alexr00 alexr00 self-assigned this Apr 24, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates GitHubRepository error-code extraction to return more detailed error information, intended to improve diagnostics for telemetry and logging around GitHub API failures.

Changes:

  • Enhanced getErrorCode to incorporate Error.message when available (and prefer it when name === 'Error').
  • Adjusted fallback behavior for error identification when only name/message are present.
Show a summary per file
File Description
src/github/githubRepository.ts Changes getErrorCode to return more detailed strings derived from Error.name/Error.message.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 2

Comment thread src/github/githubRepository.ts
Comment thread src/github/githubRepository.ts
@alexr00 alexr00 merged commit 816752d into main Apr 24, 2026
10 checks passed
@alexr00 alexr00 deleted the alexr00/romantic-condor branch April 24, 2026 09:32
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.

3 participants