Werk #7171: cmk-update-agent: Improved error handling

Component Agent bakery
Title cmk-update-agent: Improved error handling
Date Sep 5, 2019
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 1.5.0p22 1.6.0b9 2.0.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks