IcingaObjectsHandler: send error message, not trace
This commit is contained in:
parent
349cc33046
commit
2821b0721d
|
@ -21,8 +21,7 @@ class IcingaObjectsHandler extends RequestHandler
|
|||
try {
|
||||
$this->streamJsonResult();
|
||||
} catch (Exception $e) {
|
||||
// NONO
|
||||
$this->sendJsonError($e->getTraceAsString());
|
||||
$this->sendJsonError($e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue