Werk #14045: Fix crash in activate changes when using DEBUG logging

Component Setup
Title Fix crash in activate changes when using DEBUG logging
Date May 6, 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.0b9 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p24 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Activate changes would crash if a mkp was newly added and Global settings -> Logging -> Automation calls was on DEBUG.

To the list of all Werks