UserController: Since logging errors as well is usually a good idea, log errors

refs #8826
This commit is contained in:
Johannes Meyer 2015-05-13 13:58:40 +02:00
parent 5db6fc9ba9
commit 07a5473616
1 changed files with 2 additions and 0 deletions

View File

@ -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;