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

Improve error handling #2

Open
jvandemo opened this issue Oct 19, 2015 · 1 comment
Open

Improve error handling #2

jvandemo opened this issue Oct 19, 2015 · 1 comment

Comments

@jvandemo
Copy link
Owner

Feedback from @sindresorhus:

I think these FAQs should rather be actually improved errors instead of documenting bad errors

Link: https://twitter.com/sindresorhus/status/655822910758588416

@jvandemo
Copy link
Owner Author

When an error is encountered during a call to the GitHub API, the API returns just a simple string like:

  • Bad Credentials
  • Validation Failed
  • etc...

without any context of the label.

The CLI relays this information but the quality of the feedback is too poor to provide consumers with enough insights to clearly see what's happening:

Ideally we should be able to display:

  • which label failed
  • what error occurred

to improve developer experience.

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

No branches or pull requests

1 participant