From 38acae3d5e0337068b8fa616fd4aaa3b0fae7dff Mon Sep 17 00:00:00 2001 From: paulfantom Date: Tue, 21 Jun 2016 20:39:49 +0200 Subject: [PATCH] fix check() exception caching --- 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 d661495f..a16e1b8c 100755 --- a/plugins.d/python.d.plugin +++ b/plugins.d/python.d.plugin @@ -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): """ -- 2.39.2