Repository navigation
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. External sites
ReviewsSee the guideline and AI policy for information on the review process. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
🚧 At least one of the CI tasks failed. HintsTry to run the tests locally, according to the documentation. However, a CI failure may still
Leave a comment here, if you need help tracking down a confusing failure. |
8236a7f to
a2e2460
Compare
|
🐙 This pull request conflicts with the target branch and needs rebase. |

Based on #36969, only the last commit is new. Draft to see if this direction is wanted. This also came out of discussions in #36759:
The
manual_connectionflag ofConnectDirectly()only picks the log level of a failedconnect(). Callers that are not manual peers, like Tor control, passtruejust to get the failure logged, and the caller that knows how much a failure matters never sees the reason.This removes the flag.
ConnectDirectly()returns the failure reason and each caller decides how to log it. The log output stays the same, except that manual peers and Tor control now log every failure reason at info level, including timeouts, which were debug only.