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