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

Improve diagnostics for IDestinationResolver exceptions #2241

Merged

Conversation

ReubenBond
Copy link
Member

When an exception is thrown from IDestinationResolver.ResolveDestinationsAsync, we should catch the exception and rethrow it with context, such as which cluster failed resolution and, if possible, which destination failed to be resolved.

Co-authored-by: Chris Ross <Tratcher@Outlook.com>
@ReubenBond ReubenBond enabled auto-merge (squash) September 5, 2023 22:44
@ReubenBond
Copy link
Member Author

Thanks for the review. Will merge when CI completes

@ReubenBond ReubenBond merged commit e861e93 into microsoft:main Sep 5, 2023
6 checks passed
@ReubenBond ReubenBond deleted the fix/destination-resolver-err-handling branch September 5, 2023 23:01
@MihaZupan MihaZupan added this to the YARP 2.x milestone Oct 3, 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.

None yet

3 participants