diff options
-rw-r--r-- | src/Wallabag/CoreBundle/Command/InstallCommand.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php index e56ee4af..813ac720 100644 --- a/src/Wallabag/CoreBundle/Command/InstallCommand.php +++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php | |||
@@ -468,7 +468,7 @@ class InstallCommand extends ContainerAwareCommand | |||
468 | 468 | ||
469 | try { | 469 | try { |
470 | return in_array($databaseName, $schemaManager->listDatabases()); | 470 | return in_array($databaseName, $schemaManager->listDatabases()); |
471 | } catch (\Doctrine\DBAL\Exception\ConnectionException $e) { | 471 | } catch (\Doctrine\DBAL\Exception\DriverException $e) { |
472 | // it means we weren't able to get database list, assume the database doesn't exist | 472 | // it means we weren't able to get database list, assume the database doesn't exist |
473 | 473 | ||
474 | return false; | 474 | return false; |