mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-08 04:10:25 +00:00
node.py: when calling os.abort(), announce it to stdout as well as the log
This commit is contained in:
parent
7443121a9c
commit
547375a488
@ -170,8 +170,11 @@ class Node(service.MultiService):
|
|||||||
def _die(failure):
|
def _die(failure):
|
||||||
self.log('_startService() failed')
|
self.log('_startService() failed')
|
||||||
log.err(failure)
|
log.err(failure)
|
||||||
|
print "Node._startService failed, aborting"
|
||||||
|
print failure
|
||||||
#reactor.stop() # for unknown reasons, reactor.stop() isn't working. [ ] TODO
|
#reactor.stop() # for unknown reasons, reactor.stop() isn't working. [ ] TODO
|
||||||
self.log('calling os.abort()')
|
self.log('calling os.abort()')
|
||||||
|
print "calling os.abort()"
|
||||||
os.abort()
|
os.abort()
|
||||||
d.addErrback(_die)
|
d.addErrback(_die)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user