Skip to content
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

JSON errors should be returned with exitcode 0 #5

Closed
tesujimath opened this issue Oct 20, 2024 · 0 comments · Fixed by #6
Closed

JSON errors should be returned with exitcode 0 #5

tesujimath opened this issue Oct 20, 2024 · 0 comments · Fixed by #6

Comments

@tesujimath
Copy link
Owner

When writing an error in JSON, exit code should be zero to allow the caller to process the returned data.

exit 1 should be kept for bailout, where there's no JSON being written.

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 a pull request may close this issue.

1 participant