Werk #7171: cmk-update-agent: Improved error handling
| Component | Agent bakery | ||||||
| Title | cmk-update-agent: Improved error handling | ||||||
| Date | Sep 5, 2019 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Previously, the agent updater might crash with a meaningless error like ERROR compile() expected string without null bytes when it tries to read from a corrupt config or state file.
This is now mitigated by showing a meaningful error that refers to the file that caused the problem.