aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/private/util.php4
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'
);
}
}