#193 improved logging for custom service failures, should help trace issues that may arise
This commit is contained in:
parent
a4c5e32e5a
commit
11088c716a
1 changed files with 6 additions and 2 deletions
|
@ -445,9 +445,13 @@ class CoreServices(object):
|
|||
:param list[CoreService] boot_path: service to start in dependent order
|
||||
:return: nothing
|
||||
"""
|
||||
logger.info("booting node services: %s", boot_path)
|
||||
logger.info("booting node services: %s", " -> ".join([x.name for x in boot_path]))
|
||||
for service in boot_path:
|
||||
self.boot_service(node, service)
|
||||
try:
|
||||
self.boot_service(node, service)
|
||||
except:
|
||||
logger.exception("exception booting service: %s", service.name)
|
||||
raise
|
||||
|
||||
def boot_service(self, node, service):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue