Skip to content

[BUG]: Network errors from unidici are not properly surfaced #641

@nikhilgupta345

Description

@nikhilgupta345

What happened?

Undici surfaces network errors as type errors with the actual error under cause. This presents all network errors as "fetch failed" rather than showing the actual error.

Versions

All versions of Octokit

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: BugSomething isn't working as documentedreleased

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions