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

Log ServiceHub process exit code on failure #65823

Merged
merged 2 commits into from
Dec 9, 2022
Merged

Conversation

tmat
Copy link
Member

@tmat tmat commented Dec 7, 2022

Includes exit code in gold bar message if RPC fails.

@tmat tmat requested a review from a team as a code owner December 7, 2022 01:26
@tmat
Copy link
Member Author

tmat commented Dec 7, 2022

Hmm, looks like the handler is not called when the process dies of Stack Overflow :(

@CyrusNajmabadi
Copy link
Member

That's crazy... why would the handler, in anotehr process, be affected by SO... so weird :(

@tmat
Copy link
Member Author

tmat commented Dec 7, 2022

That's crazy... why would the handler, in anotehr process, be affected by SO... so weird :(

My guess is Windows API being unreliable.

@tmat
Copy link
Member Author

tmat commented Dec 7, 2022

@CyrusNajmabadi Changed implementation and tested that the exit code is reported on SO.

@tmat tmat enabled auto-merge (squash) December 9, 2022 04:36
@tmat tmat merged commit af1e46a into dotnet:release/dev17.4 Dec 9, 2022
@tmat tmat deleted the ExitCode branch December 9, 2022 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants