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

[Parameter Capturing] Add more helpful messages when feature unavailable #5200

Merged
merged 6 commits into from
Aug 28, 2023

Conversation

schmittjoseph
Copy link
Member

Summary

When parameter capturing is not available in the target process, include the reason why in the exception.

Closes #4996

Release Notes Entry

@schmittjoseph schmittjoseph requested a review from a team as a code owner August 25, 2023 22:54
@ghost ghost added the needs-review label Aug 25, 2023
@jander-msft
Copy link
Member

Could you also log a warning message here when the runtime is not supported? We can tell them up front that it won't work in addition to the changes you have here.

@ghost ghost removed the needs-review label Aug 25, 2023
@schmittjoseph schmittjoseph merged commit f333144 into dotnet:main Aug 28, 2023
@schmittjoseph schmittjoseph deleted the better-error-messages branch August 28, 2023 15:54
kkeirstead pushed a commit to kkeirstead/dotnet-monitor that referenced this pull request Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add more descriptive log messages for Parameter Capturing when unavailable
2 participants