changeset 9e9edfc8b1b6 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: gajim_0.16 details:http://hg.gajim.org/gajim?cmd=changeset;node=9e9edfc8b1b6 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 a572a1f661e5 -r 9e9edfc8b1b6 src/plugins/pluginmanager.py --- a/src/plugins/pluginmanager.py Sun Feb 21 10:32:55 2016 +0100 +++ b/src/plugins/pluginmanager.py Tue Mar 15 21:40:44 2016 +0100 @@ -452,7 +452,7 @@ file_path += os.path.sep try: module = __import__(module_name) - except (ValueError, ImportError, AttributeError) as error: + except Exception as error: log.debug(error)
if module is None: