]> git.mxchange.org Git - friendica.git/commitdiff
Use App::registerErrorHandler()
authorArt4 <art4@wlabs.de>
Wed, 25 Dec 2024 21:17:02 +0000 (21:17 +0000)
committerArt4 <art4@wlabs.de>
Wed, 25 Dec 2024 21:17:02 +0000 (21:17 +0000)
src/App.php

index 39a1414200927269c4a1185c217a4cbd0a29f88f..415aeeabe015fb27326df5ab4da2f0b78d97aeed 100644 (file)
@@ -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);