log warning when node.privatedir() raises an exception

This commit is contained in:
Jeff Ahrenholz 2018-10-10 09:43:32 -07:00
parent b844f647e3
commit c92ce40ddb

View file

@ -466,7 +466,12 @@ class CoreServices(object):
# create service directories
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
self.create_service_files(node, service)