mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-05 16:14:11 +01:00
* [MOD] Improved CSS & JS resources handling.
* [MOD] Improved bootstrap workflow. Work in progress.
This commit is contained in:
@@ -137,9 +137,7 @@ class MySQLHandler implements DBStorageInterface
|
||||
if ($isInstalled) {
|
||||
Init::initError(__('No es posible conectar con la BD'), __('Compruebe los datos de conexión'));
|
||||
} else {
|
||||
throw new SPException(SPException::SP_CRITICAL,
|
||||
__('No es posible conectar con la BD', false),
|
||||
__('Compruebe los datos de conexión', false));
|
||||
throw new SPException(__('No es posible conectar con la BD', false), SPException::CRITICAL, __('Compruebe los datos de conexión', false));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -164,7 +162,7 @@ class MySQLHandler implements DBStorageInterface
|
||||
__('No es posible conectar con la BD'),
|
||||
'Error ' . $e->getCode() . ': ' . $e->getMessage());
|
||||
} else {
|
||||
throw new SPException(SPException::SP_CRITICAL, $e->getMessage(), $e->getCode());
|
||||
throw new SPException($e->getMessage(), SPException::CRITICAL, $e->getCode());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user