This commit is contained in:
2022-11-25 20:52:46 -03:00
parent 11d8479a0c
commit dd0410a0fb
15 changed files with 325 additions and 50 deletions

View File

@ -4,4 +4,9 @@ $app = require_once implode(DIRECTORY_SEPARATOR, [
'setup',
'app.php'
]);
$app->run();
try {
$app->run();
} catch (Error | Exception $e) {
$app->getContainer()->get(\Psr\Log\LoggerInterface::class)->error($e);
throw $e;
}