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

exit codes and printing errors to STDERR #668

Open
starlingjon opened this issue Jan 18, 2023 · 1 comment
Open

exit codes and printing errors to STDERR #668

starlingjon opened this issue Jan 18, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@starlingjon
Copy link

Similar to this comment, I've run into some headaches caused by the fact that errors are printed to STDOUT not STDERR. Nothing I can't work around (yet) but it's something I have to take into account and handle when working on tooling that uses suitecloud.

I have also noticed that not all commands exit with non-zero exit codes on error: suitecloud project:validate does but suitecloud project:deploy does not, at least not if the error happened during validation. This would make developing tooling that uses deploy considerably more difficult.

If there isn't good reason not to, it would be helpful to have errors printed to STDERR and for all commands to only exit with 0 if they were successful.

@alii-gator
Copy link
Member

Thanks for bringing this up. We will evaluate this and get back to you. @starlingjon

@lfpvillegas lfpvillegas added the enhancement New feature or request label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants