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

incomplete error reporting #57

Closed
kamholz opened this issue Mar 21, 2013 · 0 comments
Closed

incomplete error reporting #57

kamholz opened this issue Mar 21, 2013 · 0 comments
Assignees

Comments

@kamholz
Copy link

kamholz commented Mar 21, 2013

When running the Readme example (after fixing typos), if I call repo.branch() on a not existent branch, nodegit throws GitError. However, the error object seems to be incomplete:

{ name: 'GitError', message: undefined, code: undefined }

I'm not sure whether a more descriptive error message or code is available, but it would be good to report them.

@ghost ghost assigned faceleg Mar 21, 2013
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

2 participants