diff --git a/library/Director/RestApi/IcingaObjectsHandler.php b/library/Director/RestApi/IcingaObjectsHandler.php index 9e5b593e..d31d2fa4 100644 --- a/library/Director/RestApi/IcingaObjectsHandler.php +++ b/library/Director/RestApi/IcingaObjectsHandler.php @@ -21,8 +21,7 @@ class IcingaObjectsHandler extends RequestHandler try { $this->streamJsonResult(); } catch (Exception $e) { - // NONO - $this->sendJsonError($e->getTraceAsString()); + $this->sendJsonError($e); } }