-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Use stdout for error messages #45999
Conversation
@phil-allen-msft ptal |
Thanks for your PR, @tmat. |
stderr design in #7289 |
@KalleOlaviNiemitalo Ordinary output describes context for error messages. It is important that both are printed out in the correct order, otherwise the proper context might be missing. |
Messages written to stdout and stderr are not guaranteed to be displayed in the order they were written. This might cause confusion as an error might not be shown before we prompt the user for action, etc. It also causes intermittent failures of tests that verify error messages.