node.py: when calling os.abort(), announce it to stdout as well as the log

This commit is contained in:
Brian Warner 2008-01-16 03:01:32 -07:00
parent 7443121a9c
commit 547375a488

View File

@ -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)