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

Improving error messages in windows command execution #2054

Merged
merged 6 commits into from
Jul 18, 2023
Merged

Improving error messages in windows command execution #2054

merged 6 commits into from
Jul 18, 2023

Conversation

ramiro-gamarra
Copy link
Contributor

@ramiro-gamarra ramiro-gamarra commented Jul 12, 2023

Reason for Change

Debugging CNI Windows logs is not helpful when we cannot see the entirety of what's output by commands failing. This PR attempts to improve these messages by including both stdout and stderr in the error messages returned.

@ramiro-gamarra ramiro-gamarra requested a review from a team as a code owner July 12, 2023 01:13
@rbtr rbtr added cni Related to CNI. windows labels Jul 12, 2023
@ramiro-gamarra ramiro-gamarra changed the title Improving error messages in windows command execution and netsh multiple error handling Improving error messages in windows command execution Jul 14, 2023
@ramiro-gamarra ramiro-gamarra enabled auto-merge (squash) July 17, 2023 16:39
@rbtr rbtr disabled auto-merge July 18, 2023 15:48
@rbtr rbtr merged commit 99843e9 into Azure:master Jul 18, 2023
43 checks passed
rbtr pushed a commit that referenced this pull request Sep 8, 2023
improving error messages from executing commands on windows
jpayne3506 pushed a commit that referenced this pull request Sep 11, 2023
improving error messages from executing commands on windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cni Related to CNI. windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants