more meaningful error msg when importing module
paulfantom committed
Jun 21, 2016 at 20:37 UTC
69602e13372e8da912a517c476ea6a55fa137ac1
1 file changed
+1
-1
plugins.d/python.d.plugin
+1
-1
@@ -167,7 +167,7 @@ class PythonCharts(object):
167
else:
168
return imp.load_source(name, path)
169
except Exception as e:
170
- debug(str(e))
170
+ debug("Problem loading", name, str(e))
171
return None
172
173
def _load_modules(self, path, modules, disabled):