changeset 26510f3ca340 in /home/hg/repos/gajim
author: Linus Heckemann git@sphalerite.org branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=26510f3ca340 description: Warn about plugin load failures rather than merely debug-logging them
diffstat:
src/plugins/pluginmanager.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 29bba5077cf9 -r 26510f3ca340 src/plugins/pluginmanager.py --- a/src/plugins/pluginmanager.py Sun Aug 07 11:53:49 2016 +0100 +++ b/src/plugins/pluginmanager.py Sun Aug 07 11:59:16 2016 +0100 @@ -482,7 +482,11 @@ try: module = __import__(module_name) except Exception as error: - log.debug(str(error)) + log.warning( + "While trying to load {plugin}, exception occurred: {error}" + .format(plugin=elem_name, error=str(error)) + ) + continue
if module is None: continue