forked from LBRYCommunity/lbry-sdk
Merge pull request #1922 from lbryio/supress_invalid_token_error_to_debug
supress invalid token error to debug
This commit is contained in:
commit
dba4a09d38
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"Args: {request.args}\n" \
|
||||
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)
|
||||
else:
|
||||
log.warning("known dht protocol backwards compatibility error with %s:%i (lbrynet v%s)",
|
||||
|
|
Loading…
Reference in a new issue