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

DefaultDnsClient log when resolution fails with an exception #2646

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

If DNS resolution fails with an exception, currently we log only the fact of cancelling the subscription, but we don't log what was the root cause.

Modifications:

  • Log cause inside cancelAndTerminate0;

Result:

Debug logs show DNS errors.

Motivation:

If DNS resolution fails with an exception, currently we log only the
fact of cancelling the subscription, but we don't log what was the root
cause.

Modifications:

- Log `cause` inside `cancelAndTerminate0`;

Result:

Debug logs show DNS errors.
@idelpivnitskiy idelpivnitskiy requested a review from daschl July 10, 2023 23:57
@idelpivnitskiy idelpivnitskiy self-assigned this Jul 10, 2023
@idelpivnitskiy idelpivnitskiy merged commit 140abce into apple:main Jul 11, 2023
@idelpivnitskiy idelpivnitskiy deleted the dns-client-log branch July 11, 2023 22:53
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.

2 participants