Skip to content

Catch errors and pass them to libgit2 as error codes in rebase signingcb#1636

Merged
emmax86 merged 1 commit into
nodegit:masterfrom
implausible:fix/rebase-signing-cb-rejection-error
Feb 20, 2019
Merged

Catch errors and pass them to libgit2 as error codes in rebase signingcb#1636
emmax86 merged 1 commit into
nodegit:masterfrom
implausible:fix/rebase-signing-cb-rejection-error

Conversation

@implausible
Copy link
Copy Markdown
Member

It seems we expected that the signing CB would never throw or reject when returning a failure code. This PR should help alleviate unexpected behavior where throwing or rejecting should check for an error code and return that or should return a generic -1 error.

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

Successfully merging this pull request may close these issues.

2 participants