@cryptotaxi247 / netdata-1 / commits / a9af7e497

convert value to string in error message in set method

paulfantom committed Jul 24, 2016 at 12:18 UTC a9af7e49712557c3ec771132da5083b410a992b4
1 file changed +1 -1
python.d/python_modules/base.py
+1 -1
@@ -289,7 +289,7 @@ class SimpleService(threading.Thread):
289 try:
290 value = str(int(value))
291 except TypeError:
292 - self.error("cannot set non-numeric value:", value)
292 + self.error("cannot set non-numeric value:", str(value))
293 return False
294 self._line("SET", id, "=", str(value))
295 self.__chart_set = True