changeset d464a443f738 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=d464a443f738 description: catch all errors when trying to load a plugin
diffstat:
src/plugins/pluginmanager.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r ed8f0555d852 -r d464a443f738 src/plugins/pluginmanager.py --- a/src/plugins/pluginmanager.py Tue Mar 08 22:36:22 2016 +0100 +++ b/src/plugins/pluginmanager.py Tue Mar 15 21:40:44 2016 +0100 @@ -480,7 +480,7 @@ continue try: module = __import__(module_name) - except (ValueError, ImportError, AttributeError) as error: + except Exception as error: log.debug(str(error))
if module is None: