[Base] Catch and log exceptions raised in component.update

This commit is contained in:
bendikro 2015-11-23 17:59:20 +01:00 committed by Calum Lind
parent ad7a1ec89f
commit 620a4eb409
1 changed files with 5 additions and 1 deletions

View File

@ -396,7 +396,11 @@ class ComponentRegistry(object):
""" """
for component in self.components.items(): for component in self.components.items():
try:
component.update() component.update()
except BaseException as ex:
log.exception(ex)
_ComponentRegistry = ComponentRegistry() _ComponentRegistry = ComponentRegistry()