forked from LBRYCommunity/lbry-sdk
don't log tracebacks for old peers failing to handle findValue requests during blob announcement
This commit is contained in:
parent
72e486791b
commit
ca12d655ea
1 changed files with 3 additions and 0 deletions
|
@ -664,6 +664,9 @@ class KademliaProtocol(DatagramProtocol):
|
||||||
log.error("Unexpected response: %s" % err)
|
log.error("Unexpected response: %s" % err)
|
||||||
return peer.node_id, False
|
return peer.node_id, False
|
||||||
except RemoteException as err:
|
except RemoteException as err:
|
||||||
|
if 'findValue() takes exactly 2 arguments (5 given)' in str(err):
|
||||||
|
log.debug("peer %s:%i is running an incompatible version of lbrynet", peer.address, peer.udp_port)
|
||||||
|
return peer.node_id, False
|
||||||
if 'Invalid token' not in str(err):
|
if 'Invalid token' not in str(err):
|
||||||
log.exception("Unexpected error while storing blob_hash")
|
log.exception("Unexpected error while storing blob_hash")
|
||||||
return peer.node_id, False
|
return peer.node_id, False
|
||||||
|
|
Loading…
Reference in a new issue