Werk #14713: graylog_failures: Fix crash with JSONDecodeError

Component Checks & agents
Title graylog_failures: Fix crash with JSONDecodeError
Date Aug 8, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p10 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p28 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Depending on the failures reported by the Graylog API, the check plugin graylog_failures crashed with

JSONDecodeError (Expecting value: line 1 column 1 (char 0))

To the list of all Werks