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

Better error messages when options are misplaced or missing #2

Open
drewblessing opened this issue Apr 19, 2013 · 0 comments
Open

Better error messages when options are misplaced or missing #2

drewblessing opened this issue Apr 19, 2013 · 0 comments

Comments

@drewblessing
Copy link
Owner

Example:
gitlab snippet add file.txt -t title -n name

Looks ok, right? But it gives a big ugly stack trace. In this case it was simply missing the project ID or name:
gitlab snippet add 13 file.txt -t title -n name

We should give some nicer messages that say something went wrong and here's maybe what happened...

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