Merge pull request #201 from coreemu/bugfix/handle-node-privatedir-exceptions-gracefully
log warning when node.privatedir() raises an exception
This commit is contained in:
commit
e43d42f16b
1 changed files with 5 additions and 1 deletions
|
@ -466,7 +466,11 @@ class CoreServices(object):
|
|||
|
||||
# create service directories
|
||||
for directory in service.dirs:
|
||||
try:
|
||||
node.privatedir(directory)
|
||||
except (CoreCommandError, ValueError) as e:
|
||||
logger.warn("error mounting private dir '%s' for service '%s': %s",
|
||||
directory, service.name, e)
|
||||
|
||||
# create service files
|
||||
self.create_service_files(node, service)
|
||||
|
|
Loading…
Reference in a new issue