Skip to content

incomplete error reporting #57

Description

@kamholz

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions