]> git.mxchange.org Git - friendica.git/commitdiff
use registerErrorHandler() in processWorker()
authorArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 19:13:34 +0000 (19:13 +0000)
committerArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 19:13:34 +0000 (19:13 +0000)
src/App.php

index f5c0240f2693cb2eae5a970ab76b120f3e19818d..e0ab61c5ddbec28632fd32131f02da34c6f325d6 100644 (file)
@@ -442,7 +442,7 @@ class App
 
                $this->setupLegacyServiceLocator();
 
-               \Friendica\Core\Logger\Handler\ErrorHandler::register($this->container->create(\Psr\Log\LoggerInterface::class));
+               $this->registerErrorHandler();
 
                DI::mode()->setExecutor(Mode::WORKER);