]> arthur.barton.de Git - netdata.git/commitdiff
fix check() exception caching
authorpaulfantom <paulfantom@gmail.com>
Tue, 21 Jun 2016 18:39:49 +0000 (20:39 +0200)
committerpaulfantom <paulfantom@gmail.com>
Tue, 21 Jun 2016 18:39:49 +0000 (20:39 +0200)
plugins.d/python.d.plugin

index d661495f6a33288cf4d5fe28109fcb8253292abc..a16e1b8ccfcdeece46becdc4498ea8984ba9c044 100755 (executable)
@@ -369,7 +369,7 @@ class PythonCharts(object):
             except AttributeError:
                 self._stop(job, "no check")
             except (UnboundLocalError, Exception) as e:
-                self._stop(job, "misbehaving. Reason:", str(e))
+                self._stop(job, "misbehaving. Reason:" + str(e))
 
     def create(self):
         """