Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 8eefcde487429b2e9d86bdf4f306069681e3c405
https://github.com/tribe29/checkmk/commit/8eefcde487429b2e9d86bdf4f30606968…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-03-09 (Wed, 09 Mar 2022)
Changed paths:
A .werks/13639
M cmk/gui/crash_reporting.py
M cmk/gui/utils/escaping.py
Log Message:
-----------
13639 FIX Fix displaying agent output on crash report page
When the crash report page displayed a agent based check report, it displayed
an error message "Internal error: Unsupported type <class
'bytes'>" in the
"Agent output" box.
The agent output can now be displayed again, even if it might not be 100%
correct in case there are characters included in the agent output which can not
be encoded in the default page encoding (UTF-8). This is OK, because the agent
output there is only for informational purposes. Users that want to have the
full and correct agent output can download the crash report archive and extract
the agent_output file from it.
Change-Id: Ie6174b2ff276c4553a06ddd9706f94ac3b66e7cf