less verbose logging
This commit is contained in:
parent
5b419b55c5
commit
2fba1f417f
2 changed files with 2 additions and 2 deletions
|
@ -432,7 +432,7 @@ class KademliaProtocol(protocol.DatagramProtocol):
|
|||
else:
|
||||
result = func()
|
||||
except Exception as e:
|
||||
log.exception("error handling request for %s:%i %s", senderContact.address, senderContact.port, method)
|
||||
log.error("error handling request for %s:%i %s", senderContact.address, senderContact.port, method)
|
||||
df.errback(e)
|
||||
else:
|
||||
df.callback(result)
|
||||
|
|
|
@ -712,7 +712,7 @@ class UPnPComponent(Component):
|
|||
if self.upnp:
|
||||
try:
|
||||
external_ip = yield from_future(self.upnp.get_external_ip())
|
||||
if external_ip != "0.0.0.0":
|
||||
if external_ip != "0.0.0.0" and not self.external_ip:
|
||||
log.info("got external ip from UPnP: %s", external_ip)
|
||||
except (asyncio.TimeoutError, UPnPError):
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue