less verbose log

This commit is contained in:
Jack Robison 2019-12-27 22:58:55 -05:00
parent d3e7f789b2
commit 5bd222c266
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -668,7 +668,7 @@ class KademliaProtocol(DatagramProtocol):
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):
log.exception("Unexpected error while storing blob_hash")
log.warning("Unexpected error while storing blob_hash: %s", err)
return peer.node_id, False
self.peer_manager.clear_token(peer.node_id)
if not retry: