diff options
author | mathieui <mathieui@mathieui.net> | 2015-01-05 16:57:28 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-01-05 16:57:28 +0100 |
commit | 741ea614546f8d4bd276c93821410a8852a36675 (patch) | |
tree | d8844795f98aefaf3de3ea82c95648c7feeaacd8 | |
parent | bd1c41472ae9d8b9bb03def8b0486f0a694d1490 (diff) | |
download | poezio-741ea614546f8d4bd276c93821410a8852a36675.tar.gz poezio-741ea614546f8d4bd276c93821410a8852a36675.tar.bz2 poezio-741ea614546f8d4bd276c93821410a8852a36675.tar.xz poezio-741ea614546f8d4bd276c93821410a8852a36675.zip |
Log the plugin errors too
-rw-r--r-- | src/plugin.py | 1 |
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 |