Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misguiding message on not 200 status code #38

Closed
floatdrop opened this issue Feb 6, 2015 · 2 comments · Fixed by #39
Closed

Misguiding message on not 200 status code #38

floatdrop opened this issue Feb 6, 2015 · 2 comments · Fixed by #39

Comments

@floatdrop
Copy link
Contributor

This take me a wile to figure out, that I don'' have network problems from this error message:

Error: Couldn't connect to http://subhost.yandex.net.

Could we change it to somethig more accurate (that may include status code):

Error: Response status code from http://subhost.yandex.net is not OK (403).
@sindresorhus
Copy link
Owner

👍 I'm always happy to improve error messages.

@kevva
Copy link
Contributor

kevva commented Feb 6, 2015

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 a pull request may close this issue.

3 participants