mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-05-28 04:02:39 -04:00
GroupController: Since logging errors as well is usually a good idea, log errors
refs #8826
This commit is contained in:
parent
07a5473616
commit
9eaa231c4f
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue