This commit is contained in:
Jack Robison 2018-07-17 17:38:19 -04:00
parent 2386a3a79b
commit d29f103910
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -172,7 +172,8 @@ class Node(MockKademliaHelper):
def start_listening(self):
if not self._listeningPort:
try:
self._listeningPort = self.reactor_listenUDP(self.port, self._protocol, interface=self._listen_interface)
self._listeningPort = self.reactor_listenUDP(self.port, self._protocol,
interface=self._listen_interface)
except error.CannotListenError as e:
import traceback
log.error("Couldn't bind to port %d. %s", self.port, traceback.format_exc())