From 9eaa231c4f55ed7dbf889f5067d87bae36bd4f7b Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 13 May 2015 13:58:48 +0200 Subject: [PATCH] GroupController: Since logging errors as well is usually a good idea, log errors refs #8826 --- application/controllers/GroupController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/controllers/GroupController.php b/application/controllers/GroupController.php index bf027c836..bbe97b64f 100644 --- a/application/controllers/GroupController.php +++ b/application/controllers/GroupController.php @@ -4,6 +4,7 @@ use \Exception; use \Zend_Controller_Action_Exception; use Icinga\Application\Config; +use Icinga\Application\Logger; use Icinga\Authentication\UserGroup\UserGroupBackend; use Icinga\Authentication\UserGroup\UserGroupBackendInterface; use Icinga\Web\Controller; @@ -81,6 +82,7 @@ class GroupController extends Controller $this->setupPaginationControl($this->view->groups); } catch (Exception $e) { Notification::error($e->getMessage()); + Logger::error($e); } $this->view->backend = $backend;