mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 12:30:42 +02:00
[ticket/17509] Output db tools error test
PHPBB-17509
This commit is contained in:
@@ -478,7 +478,7 @@ class doctrine implements tools_interface
|
||||
catch (Exception $e)
|
||||
{
|
||||
// @todo: check if it makes sense to properly handle the exception
|
||||
return false;
|
||||
return $e->getMessage();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -405,6 +405,7 @@ class database
|
||||
}
|
||||
|
||||
// Check if database version is supported
|
||||
/** @psalm-suppress UndefinedInterfaceMethod */
|
||||
$db_server_version = $doctrine_db->getWrappedConnection()->getServerVersion();
|
||||
switch ($dbms)
|
||||
{
|
||||
|
Reference in New Issue
Block a user