From: Brian Warner Date: Wed, 16 Jan 2008 10:01:32 +0000 (-0700) Subject: node.py: when calling os.abort(), announce it to stdout as well as the log X-Git-Tag: allmydata-tahoe-0.8.0~304 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/flags/reliability?a=commitdiff_plain;h=547375a48844457d48a85e4e6c32e4b47ec9306e;p=tahoe-lafs%2Ftahoe-lafs.git node.py: when calling os.abort(), announce it to stdout as well as the log --- diff --git a/src/allmydata/node.py b/src/allmydata/node.py index 244a1e1d..56b63cce 100644 --- a/src/allmydata/node.py +++ b/src/allmydata/node.py @@ -170,8 +170,11 @@ class Node(service.MultiService): def _die(failure): self.log('_startService() failed') log.err(failure) + print "Node._startService failed, aborting" + print failure #reactor.stop() # for unknown reasons, reactor.stop() isn't working. [ ] TODO self.log('calling os.abort()') + print "calling os.abort()" os.abort() d.addErrback(_die)