From 620a4eb409423381f8f02849ad4f481112e50db4 Mon Sep 17 00:00:00 2001 From: bendikro Date: Mon, 23 Nov 2015 17:59:20 +0100 Subject: [PATCH] [Base] Catch and log exceptions raised in component.update --- deluge/component.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deluge/component.py b/deluge/component.py index 3166a5765..74e5c53e1 100644 --- a/deluge/component.py +++ b/deluge/component.py @@ -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()