fix check() exception caching
paulfantom committed
Jun 21, 2016 at 20:39 UTC
38acae3d5e0337068b8fa616fd4aaa3b0fae7dff
1 file changed
+1
-1
plugins.d/python.d.plugin
+1
-1
@@ -369,7 +369,7 @@ class PythonCharts(object):
369
except AttributeError:
370
self._stop(job, "no check")
371
except (UnboundLocalError, Exception) as e:
372
- self._stop(job, "misbehaving. Reason:", str(e))
372
+ self._stop(job, "misbehaving. Reason:" + str(e))
373
374
def create(self):
375
"""