mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
[Base] Catch and log exceptions raised in component.update
This commit is contained in:
parent
ad7a1ec89f
commit
620a4eb409
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue