Werk #17109: More helpful error handling for broken plugins

Component Checks & agents
Title More helpful error handling for broken plugins
Date Jun 22, 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 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).

To the list of all Werks