summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-01-05 16:57:28 +0100
committermathieui <mathieui@mathieui.net>2015-01-05 16:57:28 +0100
commit741ea614546f8d4bd276c93821410a8852a36675 (patch)
treed8844795f98aefaf3de3ea82c95648c7feeaacd8 /src
parentbd1c41472ae9d8b9bb03def8b0486f0a694d1490 (diff)
downloadpoezio-741ea614546f8d4bd276c93821410a8852a36675.tar.gz
poezio-741ea614546f8d4bd276c93821410a8852a36675.tar.bz2
poezio-741ea614546f8d4bd276c93821410a8852a36675.tar.xz
poezio-741ea614546f8d4bd276c93821410a8852a36675.zip
Log the plugin errors too
Diffstat (limited to 'src')
-rw-r--r--src/plugin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugin.py b/src/plugin.py
index 5c4a5572..eca6baf2 100644
--- a/src/plugin.py
+++ b/src/plugin.py
@@ -80,6 +80,7 @@ class SafetyMetaclass(type):
if inspect.stack()[1][1] == inspect.getfile(f):
raise
elif SafetyMetaclass.core:
+ log.error('Error in a plugin', exc_info=True)
SafetyMetaclass.core.information(traceback.format_exc())
return None
return helper