[Base] Catch and log exceptions raised in component.update
This commit is contained in:
parent
ad7a1ec89f
commit
620a4eb409
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue