mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +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 {
|
||||
$this->streamJsonResult();
|
||||
} catch (Exception $e) {
|
||||
// NONO
|
||||
$this->sendJsonError($e->getTraceAsString());
|
||||
$this->sendJsonError($e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user