Werk #17110: Don't crash on broken plugins unless in debug mode

Component Checks & agents
Title Don't crash on broken plugins unless in debug mode
Date Jun 24, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p8 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This is a regression in Checkmk 2.3 that only affects plugin developers. Individual broken plugins could make the whole plugin loading crash. Now the error is only reported, and the plugin is skipped. For the debugging purposes, the crashing can be triggered using the --debug flag.

To the list of all Werks