From eb9e53976cc4fac4a4277a537df4fc20d390e342 Mon Sep 17 00:00:00 2001 From: Costa Tsaousis Date: Fri, 18 Nov 2016 19:44:42 +0200 Subject: [PATCH] prevent retiring on python module update errors --- python.d/python_modules/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python.d/python_modules/base.py b/python.d/python_modules/base.py index 8940b873..fdacbc98 100644 --- a/python.d/python_modules/base.py +++ b/python.d/python_modules/base.py @@ -162,8 +162,7 @@ class SimpleService(threading.Thread): try: status = self._run_once() except Exception as e: - self.alert("internal error - aborting data collection: " + str(e)) - return + status = False if status: # it is good -- 2.39.2