summaryrefslogtreecommitdiffstats
path: root/python.d
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@tsaousis.gr>2016-11-18 19:44:42 +0200
committerCosta Tsaousis <costa@tsaousis.gr>2016-11-18 19:44:42 +0200
commiteb9e53976cc4fac4a4277a537df4fc20d390e342 (patch)
tree7afc85873e54fc6a9e6caccf9519c924d05f87a9 /python.d
parent9eb45e37216e8d470a4ffc0e7bd540476b13661b (diff)
prevent retiring on python module update errors
Diffstat (limited to 'python.d')
-rw-r--r--python.d/python_modules/base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python.d/python_modules/base.py b/python.d/python_modules/base.py
index 8940b8731a..fdacbc98eb 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