mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-16 21:36:40 +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():
|
||||
component.update()
|
||||
try:
|
||||
component.update()
|
||||
except BaseException as ex:
|
||||
log.exception(ex)
|
||||
|
||||
|
||||
_ComponentRegistry = ComponentRegistry()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user