From d2f2d1d0b90962590575b565ac09ff6176710f75 Mon Sep 17 00:00:00 2001 From: Art4 Date: Wed, 25 Dec 2024 21:17:02 +0000 Subject: [PATCH] Use App::registerErrorHandler() --- src/App.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.php b/src/App.php index 39a1414200..415aeeabe0 100644 --- a/src/App.php +++ b/src/App.php @@ -167,7 +167,8 @@ class App ]); \Friendica\DI::init($this->container); - \Friendica\Core\Logger\Handler\ErrorHandler::register($this->container->create(LoggerInterface::class)); + + $this->registerErrorHandler(); // Check the database structure and possibly fixes it \Friendica\Core\Update::check(\Friendica\DI::basePath(), true);