Log exception when PostgreSQL version check failed

This commit is contained in:
Vincent Petry 2014-03-24 11:54:44 +01:00
parent 3cd09f2b09
commit a25b86a30e
1 changed files with 3 additions and 1 deletions

View File

@ -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'
);
}
}