Werk #22202: Robot Framework logs: report an invalid log type instead of crashing
| Component | User interface | ||
| Title | Robot Framework logs: report an invalid log type instead of crashing | ||
| Date | Sep 14, 2026 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
Opening a Robot Framework log with an unknown log type in the URL replaced the page with a crash report:
C+: ValueError: 'something' is not a valid LogType C-:
Only "ok" and "error" are valid, and the value comes straight from the URL, so anything else ended up as a crash. In practice this was hit by security scanners walking the interface with made-up parameter values, which filled the crash report list with reports that needed triaging.
The page now reports an invalid log type as a normal input error, the same way an invalid host name in the same URL has always been reported.