diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-03-24 11:54:44 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-03-24 11:54:44 +0100 |
commit | a25b86a30e34204f9a67e3231b1975f7aaf527af (patch) | |
tree | bf3b94078523443f59d71a1e63c2d6f05a9d7e62 | |
parent | 3cd09f2b09e69821b8f938b2c54f9c12dbb303f0 (diff) | |
download | nextcloud-server-a25b86a30e34204f9a67e3231b1975f7aaf527af.tar.gz nextcloud-server-a25b86a30e34204f9a67e3231b1975f7aaf527af.zip |
Log exception when PostgreSQL version check failed
-rwxr-xr-x | lib/private/util.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index 54e04ce4d7a..d039d9f6a96 100755 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -516,8 +516,10 @@ class OC_Util { } } catch (\Doctrine\DBAL\DBALException $e){ + \OCP\Util::logException('core', $e); $errors[] = array( - 'error' => 'PostgreSQL >= 9 required' + 'error' => 'Error occurred while checking PostgreSQL version', + 'hint' => 'Please make sure you have PostgreSQL >= 9 or check the logs for more information about the error' ); } } |