Add_Git_Notification #23

Merged
neintonine merged 13 commits from Add_Git_Notification into develop 2024-11-12 19:05:06 +00:00
Showing only changes of commit 9e12deca4a - Show all commits

View file

@ -37,6 +37,11 @@ final class CrashHandler
return new CallbackHandler(
function (Throwable $exception, InspectorInterface $inspector, RunInterface $run) {
ContainerHandler::get(Logger::class)
->emergency(
"Unexpected exception occurred: {$exception->getMessage()} at line {$exception->getLine()} in {$exception->getFile()}",
);
http_response_code(500);
echo ContainerHandler::get(TemplateEngine::class)
->renderErrorPage(500);