log warning when node.privatedir() raises an exception
This commit is contained in:
parent
b844f647e3
commit
c92ce40ddb
1 changed files with 6 additions and 1 deletions
|
@ -466,7 +466,12 @@ class CoreServices(object):
|
||||||
|
|
||||||
# create service directories
|
# create service directories
|
||||||
for directory in service.dirs:
|
for directory in service.dirs:
|
||||||
node.privatedir(directory)
|
try:
|
||||||
|
node.privatedir(directory)
|
||||||
|
except Exception, e:
|
||||||
|
logger.warn("error mounting private dir '%s' for service '%s': %s",
|
||||||
|
directory, service.name, e)
|
||||||
|
|
||||||
|
|
||||||
# create service files
|
# create service files
|
||||||
self.create_service_files(node, service)
|
self.create_service_files(node, service)
|
||||||
|
|
Loading…
Reference in a new issue