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

refactor(iroh-net): Failing to bind is not a Warning log #2815

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

flub
Copy link
Contributor

@flub flub commented Oct 18, 2024

Description

If the bind is required the call stack already makes sure that this is
surfaced correctly. It is in fact entirely normal if IPv6 to fail to
bind and this is already logged on INFO level. We do not need an
additional WARN log for this.

This also doesn't need to debug-log the error, anyhow's alternate
logging mechanism is perfect for this.

Breaking Changes

None

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

If the bind is required the call stack already makes sure that this is
surfaced correctly.  It is in fact entirely normal if IPv6 to fail to
bind and this is already logged on INFO level.  We do not need an
additional WARN log for this.

This also doesn't need to debug-log the error, anyhow's alternate
logging mechanism is perfect for this.
@flub flub requested a review from a team October 18, 2024 14:09
Copy link

github-actions bot commented Oct 18, 2024

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/2815/docs/iroh/

Last updated: 2024-10-18T14:23:11Z

@flub flub enabled auto-merge October 18, 2024 14:20
Copy link

Netsim report & logs for this PR have been generated and is available at: LOGS
This report will remain available for 3 days.

Last updated for commit: 05a3645

@flub flub added this pull request to the merge queue Oct 18, 2024
Merged via the queue into main with commit f08011a Oct 18, 2024
27 checks passed
@flub flub deleted the flub/logging-failed-to-bind branch October 18, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants