Changelog and some small changes for #639

This commit is contained in:
Bernd Bestel
2020-03-22 18:02:19 +01:00
parent 3fc14db5d5
commit 375865d80e
3 changed files with 43 additions and 29 deletions

View File

@@ -2,12 +2,13 @@
require_once __DIR__ . '/../helpers/PrerequisiteChecker.php';
try {
try
{
(new PrerequisiteChecker)->checkRequirements();
} catch (ERequirementNotMet $e) {
die("Unable to run grocy: " . $e->getMessage());
}
catch (ERequirementNotMet $ex)
{
die('Unable to run grocy: ' . $ex->getMessage());
}
require_once __DIR__ . '/../app.php';
?>