]> arthur.barton.de Git - netdata.git/commitdiff
more meaningful error msg when importing module
authorpaulfantom <paulfantom@gmail.com>
Tue, 21 Jun 2016 18:37:42 +0000 (20:37 +0200)
committerpaulfantom <paulfantom@gmail.com>
Tue, 21 Jun 2016 18:37:42 +0000 (20:37 +0200)
plugins.d/python.d.plugin

index 4a33428426614cb53f0760f34dd062df07ffd270..d661495f6a33288cf4d5fe28109fcb8253292abc 100755 (executable)
@@ -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):