This commit is contained in:
2022-12-01 14:15:54 -03:00
parent c0ddd00cc6
commit de81f16557
22 changed files with 211 additions and 35 deletions

View File

@ -8,6 +8,7 @@ Monolog\ErrorHandler::register($app->getContainer()->get(Psr\Log\LoggerInterface
try {
$app->run();
} catch (Error | Exception $e) {
$app->getContainer()->get(Psr\Log\LoggerInterface::class)->debug(json_encode(compact('_REQUEST')));
$app->getContainer()->get(Psr\Log\LoggerInterface::class)->error($e);
throw $e;
}