-
Notifications
You must be signed in to change notification settings - Fork 552
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
git-cz.js throwing error. Commit still goes through #308
Comments
Hmm, that's no good... Ping @marionebl |
@jaylaw81 could you provide more details?
To make debugging for these cases easier we probably should attach |
@marionebl I am seeing the same thing. My info is below. It doesn't look too helpful though. I have to call it a night, but if I have time later, I'll make the change locally to include
Error output:
|
One more bit of info: I experience the error with 2.8.4 and 2.8.3 but not with 2.8.2. Since 2.8.3 contains a single error-related fix, it seems likely the issue was introduced there. |
@brandonpayton Thanks for the enhanced bug report, debugging this right now |
Ok, so this is what happend. With 0d4e0d5#diff-23495cac1ee02ad0f5c48671e7498c16R69 I added nodeback error handling to the This was an error on my part – because the current, implicit contract between adapters and Fixing this now by typechecking |
* minor code cleanups (cli/strategies/git-cz.js) * pass error as first argument into `dispatchGitCommit` callback * handle errors raised by commitizen adapters via optional error argument * attach stderr to error message in case of `git commit` errors Fix commitizen#308
* minor code cleanups (cli/strategies/git-cz.js) * pass error as first argument into `dispatchGitCommit` callback * handle errors raised by commitizen adapters via optional error argument * attach stderr to error message in case of `git commit` errors Fix #308
Getting the following error after running git cz. version commitizen@2.8.4
Commit seems to go through, however error doesn't provide much more details.
The text was updated successfully, but these errors were encountered: