Commit a2652c87 authored by Franco Fichtner's avatar Franco Fichtner

health: annotate a crash report spot

The file is probably not XML at this point.
Leaving this for @adschellevis.
parent 0ce22e12
...@@ -546,7 +546,7 @@ class SystemhealthController extends ApiControllerBase ...@@ -546,7 +546,7 @@ class SystemhealthController extends ApiControllerBase
if ($rrd_details['filename'] != "") { if ($rrd_details['filename'] != "") {
$backend = new Backend(); $backend = new Backend();
$response = $backend->configdpRun("systemhealth fetch ", array($rrd_details['filename'])); $response = $backend->configdpRun("systemhealth fetch ", array($rrd_details['filename']));
$xml = simplexml_load_string($response); $xml = simplexml_load_string($response); /* XXX can cause a crash report */
} else { } else {
$xml = false; $xml = false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment