[BUG]: Undici network errors still not surfaced properly #644
Labels
released
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
What happened?
Undici surfaces network errors as type errors with the actual error under
cause
. A previous attempt to fix this assumed thatcause
was a string. After testing further,cause
can be an Error as well. We do not handle this case and so Errors do not get surfaced appropriately.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
The text was updated successfully, but these errors were encountered: