From: Art4 Date: Wed, 25 Dec 2024 21:17:02 +0000 (+0000) Subject: Use App::registerErrorHandler() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d2f2d1d0b90962590575b565ac09ff6176710f75;p=friendica.git Use App::registerErrorHandler() --- 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);