Skip to content

Commit c2b6efc

Browse files
committed
extra logging info for NAT
1 parent 127ecb7 commit c2b6efc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

p2p/nat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ async def _discover_upnp_devices(self) -> AsyncGenerator[upnpclient.upnp.Device,
160160
except TimeoutError:
161161
self.logger.info("Timeout waiting for UPNP-enabled devices")
162162
return
163+
else:
164+
self.logger.debug("Found %d candidate NAT devices", len(devices))
163165

164166
# If there are no UPNP devices we can exit early
165167
if not devices:

0 commit comments

Comments
 (0)