diff options
author | Morris Jobke <hey@morrisjobke.de> | 2021-01-07 21:04:11 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2021-01-07 21:04:11 +0100 |
commit | d0ac76a77c820d065f7b4af5238e5d11ec66253b (patch) | |
tree | fb14ca6c48f0c219b8dd529c9f76948e2ad490e0 /lib/private/Setup/MySQL.php | |
parent | f1921364d692a521c5bf5860ce453bae3f9facae (diff) | |
download | nextcloud-server-d0ac76a77c820d065f7b4af5238e5d11ec66253b.tar.gz nextcloud-server-d0ac76a77c820d065f7b4af5238e5d11ec66253b.zip |
Add more previous exceptions to database setup code
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Setup/MySQL.php')
-rw-r--r-- | lib/private/Setup/MySQL.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Setup/MySQL.php b/lib/private/Setup/MySQL.php index 54542de72bf..966c97edf55 100644 --- a/lib/private/Setup/MySQL.php +++ b/lib/private/Setup/MySQL.php @@ -66,7 +66,7 @@ class MySQL extends AbstractDatabase { } catch (\Exception $e) { $this->logger->logException($e); throw new \OC\DatabaseSetupException($this->trans->t('MySQL username and/or password not valid'), - $this->trans->t('You need to enter details of an existing account.')); + $this->trans->t('You need to enter details of an existing account.'), 0, $e); } } |