From 69602e13372e8da912a517c476ea6a55fa137ac1 Mon Sep 17 00:00:00 2001 From: paulfantom Date: Tue, 21 Jun 2016 20:37:42 +0200 Subject: [PATCH] more meaningful error msg when importing module --- plugins.d/python.d.plugin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins.d/python.d.plugin b/plugins.d/python.d.plugin index 4a334284..d661495f 100755 --- a/plugins.d/python.d.plugin +++ b/plugins.d/python.d.plugin @@ -167,7 +167,7 @@ class PythonCharts(object): else: return imp.load_source(name, path) except Exception as e: - debug(str(e)) + debug("Problem loading", name, str(e)) return None def _load_modules(self, path, modules, disabled): -- 2.39.2