From 1331e2bbe6148fdad9d6b8eaff03505aad805a20 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 17 Oct 2018 22:25:41 -0300 Subject: [PATCH] fix DHT logging --- lbrynet/dht/protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/dht/protocol.py b/lbrynet/dht/protocol.py index 6a9fd61fe..064ffb7ff 100644 --- a/lbrynet/dht/protocol.py +++ b/lbrynet/dht/protocol.py @@ -221,7 +221,7 @@ class KademliaProtocol(protocol.DatagramProtocol): message = self._translator.fromPrimitive(msgPrimitive) except (encoding.DecodeError, ValueError) as err: # We received some rubbish here - log.warning("Error decoding datagram %s from %s:%i - %s", datagram.encode('hex'), + log.warning("Error decoding datagram %s from %s:%i - %s", hexlify(datagram), address[0], address[1], err) return except (IndexError, KeyError):