Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: d3ad1518af961fbf625f323f14f78184e8b39d55
https://github.com/tribe29/checkmk/commit/d3ad1518af961fbf625f323f14f78184e…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-08-24 (Mon, 24 Aug 2020)
Changed paths:
M cmk/base/data_sources/_abstract.py
M cmk/base/data_sources/agent.py
M cmk/base/data_sources/snmp.py
M cmk/base/inventory.py
M cmk/base/modes/check_mk.py
Log Message:
-----------
Handle fetcher exceptions in the caller
Fetcher exceptions should not be raise from the modes.
Before the fetcher/checker split, exception from the fetchers were kept
in the checker. This patch simulates this behavior but moves the
exception handling to the caller as the checkers do not call
Fetcher.fetch() anymore.
CMK-5243
Change-Id: I97ce00b76e88081377ded481bfff08314397cd3f