mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
log a prominent warning message in the case that the introducer cannot be reached
This commit is contained in:
parent
7c479ba8a7
commit
0bcf29fba4
@ -46,6 +46,11 @@ class IntroducerClient(service.Service, Referenceable):
|
||||
service.Service.startService(self)
|
||||
self.introducer_reconnector = self.tub.connectTo(self.introducer_furl,
|
||||
self._got_introducer)
|
||||
def connect_failed(failure):
|
||||
self.log("\n\nInitial Introducer connection failed: perhaps it's down\n")
|
||||
log.err(failure)
|
||||
d = self.tub.getReference(self.introducer_furl)
|
||||
d.addErrback(connect_failed)
|
||||
|
||||
def log(self, msg):
|
||||
self.parent.log(msg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user