supress invalid token error to debug
This commit is contained in:
parent
a49f479a5f
commit
918122e7cf
1 changed files with 3 additions and 1 deletions
|
@ -480,7 +480,9 @@ class KademliaProtocol(DatagramProtocol):
|
||||||
f"Error sending '{request.method}' to {peer.address}:{peer.udp_port}\n" \
|
f"Error sending '{request.method}' to {peer.address}:{peer.udp_port}\n" \
|
||||||
f"Args: {request.args}\n" \
|
f"Args: {request.args}\n" \
|
||||||
f"Raised: {str(remote_exception)}"
|
f"Raised: {str(remote_exception)}"
|
||||||
if error_datagram.response not in old_protocol_errors:
|
if 'Invalid token' in error_msg:
|
||||||
|
log.debug(error_msg)
|
||||||
|
elif error_datagram.response not in old_protocol_errors:
|
||||||
log.warning(error_msg)
|
log.warning(error_msg)
|
||||||
else:
|
else:
|
||||||
log.warning("known dht protocol backwards compatibility error with %s:%i (lbrynet v%s)",
|
log.warning("known dht protocol backwards compatibility error with %s:%i (lbrynet v%s)",
|
||||||
|
|
Loading…
Reference in a new issue