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
fix: print errors when --json option used #5718
Conversation
Shouldn't the error be in JSON format? |
Maybe we should use
|
I think let's keep the way error are logged now. Don't change it to stderr. We just need to print the json error. |
@zkochan Thanks for your suggestion, does it mean that the error is output in json format, like follows:
I also noticed that some warnings or errors may be logged when |
For now I would only change the publish command's json output on unhandled exception. |
If
|
Tests are needed |
fix #5710