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

Komponente Checks & agents
Titel Don't crash on broken plugins unless in debug mode
Datum 24.06.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 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.

Zur Liste aller Werks