]> git.mxchange.org Git - friendica.git/commitdiff
refactor using registerErrorHandler
authorArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 10:18:03 +0000 (10:18 +0000)
committerArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 10:18:03 +0000 (10:18 +0000)
src/App.php

index 9202e80129bb5be0cc7b275c768bdba3e2ab7877..e5b95ec1d447614786afa90a18ca4157fa5a7dd2 100644 (file)
@@ -224,7 +224,7 @@ class App
 
                $this->setupLegacyServerLocator();
 
-               \Friendica\Core\Logger\Handler\ErrorHandler::register($this->container->create(LoggerInterface::class));
+               $this->registerErrorHandler();
 
                if (DI::mode()->isInstall()) {
                        die("Friendica isn't properly installed yet.\n");