mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-24 13:05:50 +00:00
fuse/blackmatch: log exception in server startup
humphf. my build runs the fuse stuff fine, but the build from the buildslave doesn't seem to start up properly. hopefully this will elicit some useful info
This commit is contained in:
parent
032cac36ed
commit
7ee6882884
@ -1497,18 +1497,21 @@ def main(argv):
|
||||
log('daemonizing')
|
||||
daemonize()
|
||||
|
||||
cache_timeout = float(config['cache-timeout'])
|
||||
tfs = TFS(nodedir, nodeurl, root_uri, cache_timeout)
|
||||
#print tfs.pprint()
|
||||
try:
|
||||
cache_timeout = float(config['cache-timeout'])
|
||||
tfs = TFS(nodedir, nodeurl, root_uri, cache_timeout)
|
||||
#print tfs.pprint()
|
||||
|
||||
# make tfs instance accesible to print_tree() for dbg
|
||||
_tfs = tfs
|
||||
# make tfs instance accesible to print_tree() for dbg
|
||||
_tfs = tfs
|
||||
|
||||
log('launching tfs server')
|
||||
tfuse = TahoeFuseBase(tfs)
|
||||
tfs_server = TFSServer(socket_path, tfuse)
|
||||
tfs_server.run()
|
||||
log('tfs server ran, exiting')
|
||||
log('launching tfs server')
|
||||
tfuse = TahoeFuseBase(tfs)
|
||||
tfs_server = TFSServer(socket_path, tfuse)
|
||||
tfs_server.run()
|
||||
log('tfs server ran, exiting')
|
||||
except:
|
||||
log('exception: ' + traceback.format_exc())
|
||||
|
||||
#
|
||||
# Client
|
||||
|
Loading…
x
Reference in New Issue
Block a user