Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

incomplete error reporting #57

Copy link
Copy link
@kamholz

Description

@kamholz
Issue body actions

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.

Reactions are currently unavailable

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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.