diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2016-11-18 19:44:42 +0200 |
---|---|---|
committer | Costa Tsaousis <costa@tsaousis.gr> | 2016-11-18 19:44:42 +0200 |
commit | eb9e53976cc4fac4a4277a537df4fc20d390e342 (patch) | |
tree | 7afc85873e54fc6a9e6caccf9519c924d05f87a9 /python.d/python_modules/base.py | |
parent | 9eb45e37216e8d470a4ffc0e7bd540476b13661b (diff) |
prevent retiring on python module update errors
Diffstat (limited to 'python.d/python_modules/base.py')
-rw-r--r-- | python.d/python_modules/base.py | 3 |
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 |