summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-07-13 01:05:45 +0200
committermathieui <mathieui@mathieui.net>2013-08-04 14:50:58 +0200
commit149687613614553865887167d793e1dd375841bc (patch)
tree8893d9e495ef6321ed322e42d9e519037b7a5b0a /src
parente5e63d47255be908daa5bbb004d54b0f6c595c3a (diff)
downloadpoezio-149687613614553865887167d793e1dd375841bc.tar.gz
poezio-149687613614553865887167d793e1dd375841bc.tar.bz2
poezio-149687613614553865887167d793e1dd375841bc.tar.xz
poezio-149687613614553865887167d793e1dd375841bc.zip
Add the name of the plugin when loading it fails
Diffstat (limited to 'src')
-rw-r--r--src/plugin_manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin_manager.py b/src/plugin_manager.py
index 5931d798..4f728938 100644
--- a/src/plugin_manager.py
+++ b/src/plugin_manager.py
@@ -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()