This commit is contained in:
Jack Robison 2017-07-12 14:21:30 -04:00
parent e24d626b07
commit 2728b1ed60
No known key found for this signature in database
GPG key ID: 284699E7404E3CFF

View file

@ -314,7 +314,8 @@ class Daemon(AuthJSONRPCServer):
self.lbry_server_port = reactor.listenTCP(self.peer_port, server_factory) self.lbry_server_port = reactor.listenTCP(self.peer_port, server_factory)
except error.CannotListenError as e: except error.CannotListenError as e:
import traceback import traceback
log.error("Couldn't bind to port %d. Visit lbry.io/faq/how-to-change-port for more details.", self.peer_port) log.error("Couldn't bind to port %d. Visit lbry.io/faq/how-to-change-port for"
" more details.", self.peer_port)
log.error("%s", traceback.format_exc()) log.error("%s", traceback.format_exc())
raise ValueError("%s lbrynet may already be running on your computer.", str(e)) raise ValueError("%s lbrynet may already be running on your computer.", str(e))
return defer.succeed(True) return defer.succeed(True)