projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c479ba
)
log a prominent warning message in the case that the introducer cannot be reached
author
robk-org
<robk-org@allmydata.com>
Tue, 5 Jun 2007 01:48:53 +0000
(18:48 -0700)
committer
robk-org
<robk-org@allmydata.com>
Tue, 5 Jun 2007 01:48:53 +0000
(18:48 -0700)
src/allmydata/introducer.py
patch
|
blob
|
history
diff --git
a/src/allmydata/introducer.py
b/src/allmydata/introducer.py
index 675bd94df16bf093306d01795dd9c7382c7a271f..96dd875b2283fcba125bb8c1ab304ea4e8a40f30 100644
(file)
--- a/
src/allmydata/introducer.py
+++ b/
src/allmydata/introducer.py
@@
-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)