Module: check_mk
Branch: master
Commit: 8f427c223338108018d85a06c2ea7b02d329a673
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8f427c22333810…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Apr 2 16:43:29 2019 +0200
Fixed no-member access in exception handler
Change-Id: I571cb8d1dcabae2d8b379a1547e3585056f20b4a
---
cmk/ec/main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk/ec/main.py b/cmk/ec/main.py
index 0fa5135..2a16fb1 100644
--- a/cmk/ec/main.py
+++ b/cmk/ec/main.py
@@ -232,7 +232,7 @@ class ECServerThread(threading.Thread):
self.serve()
except Exception:
self._logger.exception("Exception in %s server" % self.name)
- if self._settings.options.debug:
+ if self.settings.options.debug:
raise
time.sleep(1)