Skip to content

incomplete error reporting #57

@kamholz

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.

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