Werk #14051: Fix crash in activate changes

Component Setup
Title Fix crash in activate changes
Date May 19, 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.0 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p25 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Activate changes would crash on activation of some mkps when Global settings -> Logging -> Automation calls was on DEBUG.

To the list of all Werks