UserController: Since logging errors as well is usually a good idea, log errors
refs #8826
This commit is contained in:
parent
5db6fc9ba9
commit
07a5473616
|
@ -4,6 +4,7 @@
|
|||
use \Exception;
|
||||
use \Zend_Controller_Action_Exception;
|
||||
use Icinga\Application\Config;
|
||||
use Icinga\Application\Logger;
|
||||
use Icinga\Authentication\User\UserBackend;
|
||||
use Icinga\Authentication\User\UserBackendInterface;
|
||||
use Icinga\Web\Controller;
|
||||
|
@ -81,6 +82,7 @@ class UserController extends Controller
|
|||
$this->setupPaginationControl($this->view->users);
|
||||
} catch (Exception $e) {
|
||||
Notification::error($e->getMessage());
|
||||
Logger::error($e);
|
||||
}
|
||||
|
||||
$this->view->backend = $backend;
|
||||
|
|
Loading…
Reference in New Issue