Skip to content

Conversation

@josalem
Copy link
Contributor

@josalem josalem commented Oct 21, 2021

@lateralusX caught a small error in the dump IPC command error handling while doing some refactoring. Pulling out the fix for that observation into a separate PR for easier backporting.

Currently, the dump IPC command will always return "false" even if the dump is successful. This change fixes up the error handling to use the actual error code from creating the dump.

CC @tommcdon

@josalem josalem added this to the 7.0.0 milestone Oct 21, 2021
@josalem josalem requested review from a team and lateralusX October 21, 2021 18:33
@josalem josalem self-assigned this Oct 21, 2021
@ghost
Copy link

ghost commented Oct 21, 2021

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

Issue Details

@lateralusX caught a small error in the dump IPC command error handling while doing some refactoring. Pulling out the fix for that observation into a separate PR for easier backporting.

Currently, the dump IPC command will always return "false" even if the dump is successful. This change fixes up the error handling to use the actual error code from creating the dump.

CC @tommcdon

Author: josalem
Assignees: josalem
Labels:

area-Diagnostics-coreclr

Milestone: 7.0.0

@lateralusX
Copy link
Member

lateralusX commented Oct 25, 2021

All creds finding this issue goes to @am11 and @lambdageek, thanks for bringing it to my attention.

@josalem
Copy link
Contributor Author

josalem commented Oct 25, 2021

The remaining test failures appear to be #60705. I'll merge today

@josalem josalem merged commit b0b0b14 into dotnet:main Oct 27, 2021
@josalem josalem deleted the dev/josalem/fix-dump-errorcode branch October 27, 2021 00:10
@ghost ghost locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants