Werk #17109: More helpful error handling for broken plugins

Komponente Checks & agents
Titel More helpful error handling for broken plugins
Datum 22.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 only affects developers of plugins. In case of a broken import in a plugin the resulting ImportError has been swallowed, making debugging very hard. Now the error is reported on the console (to std error), and raised in debug mode (as is the case for any other exception).

Zur Liste aller Werks