mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 06:08:46 -04:00
list supported databases when provided db isn't supported
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
527de8ac9d
commit
cd3e7fd1b0
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ class Install extends Command {
|
|||
$db = strtolower($input->getOption('database'));
|
||||
|
||||
if (!in_array($db, $supportedDatabases)) {
|
||||
throw new InvalidArgumentException("Database <$db> is not supported.");
|
||||
throw new InvalidArgumentException("Database <$db> is not supported. " . implode(", ", $supportedDatabases) . " are supported.");
|
||||
}
|
||||
|
||||
$dbUser = $input->getOption('database-user');
|
||||
|
|
|
|||
Loading…
Reference in a new issue