diff --git a/lbrynet/dht/node.py b/lbrynet/dht/node.py index 8da5272c8..6dd6cadd3 100644 --- a/lbrynet/dht/node.py +++ b/lbrynet/dht/node.py @@ -235,9 +235,14 @@ class Node(object): known_nodes = {} def log_error(err, n): - log.debug("error storing blob_hash %s at %s", binascii.hexlify(blob_hash), str(n)) - log.debug(err.getErrorMessage()) - log.debug(err.getTraceback()) + if err.check(protocol.TimeoutError): + log.debug( + "Timeout while storing blob_hash %s at %s", + binascii.hexlify(blob_hash), n) + else: + log.error( + "Unexpected error while storing blob_hash %s at %s: %s", + binascii.hexlify(blob_hash), n, err.getErrorMessage()) def log_success(res): log.debug("Response to store request: %s", str(res))