mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 04:54:23 +00:00
[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():
|
||||||
component.update()
|
try:
|
||||||
|
component.update()
|
||||||
|
except BaseException as ex:
|
||||||
|
log.exception(ex)
|
||||||
|
|
||||||
|
|
||||||
_ComponentRegistry = ComponentRegistry()
|
_ComponentRegistry = ComponentRegistry()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user