diff --git a/lib/private/util.php b/lib/private/util.php
index 54e04ce4d7a5486883a38cf8cc7c39f05dc61e71..d039d9f6a9657ee1670b0691cc55811d8fb13b5b 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'
 				);
 			}
 		}