mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02: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
@ -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…
x
Reference in New Issue
Block a user