log EWOULDBLOCK
This commit is contained in:
parent
a8025b02c6
commit
14f9bb7b82
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ class KademliaProtocol(protocol.DatagramProtocol):
|
|||
if err.errno == errno.EWOULDBLOCK:
|
||||
# i'm scared this may swallow important errors, but i get a million of these
|
||||
# on Linux and it doesnt seem to affect anything -grin
|
||||
log.debug("Can't send data to dht: EWOULDBLOCK")
|
||||
log.warning("Can't send data to dht: EWOULDBLOCK")
|
||||
elif err.errno == errno.ENETUNREACH:
|
||||
# this should probably try to retransmit when the network connection is back
|
||||
log.error("Network is unreachable")
|
||||
|
|
Loading…
Reference in a new issue