KickstartController: do not fail on missing schema

This commit is contained in:
Thomas Gelf 2017-01-16 11:01:17 +01:00
parent 303e107f15
commit b26b209b06
1 changed files with 8 additions and 4 deletions

View File

@ -10,9 +10,13 @@ class KickstartController extends DashboardController
public function indexAction() public function indexAction()
{ {
$this->singleTab($this->view->title = $this->translate('Kickstart')); $this->singleTab($this->view->title = $this->translate('Kickstart'));
$this->view->form = $this $form = $this->view->form = $this->loadForm('kickstart');
->loadForm('kickstart') try {
->setEndpoint($this->db()->getDeploymentEndpoint()) $form->setEndpoint($this->db()->getDeploymentEndpoint());
->handleRequest(); } catch (Exception $e) {
// Silently ignore DB errors
}
$form->handleRequest();
} }
} }