mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +02:00
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…
x
Reference in New Issue
Block a user