Skip to content

Commit

Permalink
refactor(iroh-net): No portmapper is not a warning (#2816)
Browse files Browse the repository at this point in the history
## Description

It is normal for there to be no portmapper, there's no point in
logging this as a warning.

## Breaking Changes

None

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist

- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
  • Loading branch information
flub authored Oct 18, 2024
1 parent a0ce00e commit f32f3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iroh-net/src/netcheck/reportgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ impl Actor {
match port_mapper.probe().await {
Ok(Ok(res)) => Some(res),
Ok(Err(err)) => {
warn!("skipping port mapping: {err:?}");
debug!("skipping port mapping: {err:?}");
None
}
Err(recv_err) => {
Expand Down

0 comments on commit f32f3f9

Please sign in to comment.