Module: check_mk
Branch: master
Commit: f7c0d0404531cdb7513d2bebc7dce616422b6aaf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f7c0d0404531cd…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Mar 13 15:20:09 2018 +0100
Abstracted exception handling away from "Check_MK *" functions
* The result handling is now done in a separate layer,
realized as decorator wrapper (checking.handle_check_mk_check_result())
* The wrapper is caring about result text formating and
consistent exception handling (including crash reports)
Change-Id: I9fbaf4596e501f970141974d04920c408c19a07f
---
cmk_base/checking.py | 158 +++++++++++++++++++++++---------------
cmk_base/discovery.py | 183 ++++++++++++++++++---------------------------
cmk_base/inventory.py | 109 ++++++++++++---------------
cmk_base/modes/check_mk.py | 2 +-
4 files changed, 220 insertions(+), 232 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=f7c0d04045…