From 741ea614546f8d4bd276c93821410a8852a36675 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 5 Jan 2015 16:57:28 +0100 Subject: [PATCH] Log the plugin errors too --- src/plugin.py | 1 + 1 file changed, 1 insertion(+) 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