Commit 14968761 authored by mathieui's avatar mathieui
Browse files

Add the name of the plugin when loading it fails

parent e5e63d47
......@@ -119,8 +119,8 @@ class PluginManager(object):
except Exception as e:
import traceback
log.debug("Could not load plugin: \n%s", traceback.format_exc())
self.core.information("Could not load plugin: %s" % e, 'Error')
log.debug("Could not load plugin %s: \n%s", name, traceback.format_exc())
self.core.information("Could not load plugin %s: %s" % (name, e), 'Error')
finally:
if version_info[1] < 3 and imp.lock_held():
imp.release_lock()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment