update_engine: Log the error message when Omaha response is invalid XML.
When omaha replies with an invalid XML, log the reason why the parser
failed to process it. This helps debug our devserver implementation
of the Omaha protocol.
BUG=chromium:427384
TEST=Provide an invalid XML response from devserver, notice log message:
[1106/130938:ERROR:omaha_request_action.cc(805)] Omaha response not valid XML: XML or text declaration not at start of entity at line 1 col 1
Change-Id: If5b0d5bebf402bdb7dd2fd9e79f5a16ef5d5ff41
Reviewed-on: https://chromium-review.googlesource.com/280578
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: David Zeuthen <zeuthen@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
1 file changed