Skip to content

feat: improve error message when repo fetch fails - #475

Merged
woodruffw merged 2 commits into
mainfrom
ww/better-fetch-failure
Jan 19, 2025
Merged

woodruffw merged 2 commits into
mainfrom
ww/better-fetch-failure

Conversation

@woodruffw

Copy link
Copy Markdown
Member

Fixes #474.

Old:

invalid gzip header

New:

error: couldn't collect inputs from https://github.com/fake/fake
 = note: confirm the repository exists and that you have access to it

Caused by:
    failed to fetch https://api.github.com/repos/fake/fake/tarball/HEAD: 404 Not Found

@woodruffw woodruffw added the enhancement New feature or request label Jan 19, 2025
@woodruffw woodruffw self-assigned this Jan 19, 2025
@woodruffw
woodruffw merged commit 5baaaf2 into main Jan 19, 2025
@woodruffw
woodruffw deleted the ww/better-fetch-failure branch January 19, 2025 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: bad error when fetching a nonexistent repo

1 participant

⌂ 换网址