From 68e729e1921a6df80eff5d6c62b08781ac9ea554 Mon Sep 17 00:00:00 2001 From: Art4 Date: Thu, 26 Dec 2024 10:18:03 +0000 Subject: [PATCH] refactor using registerErrorHandler --- src/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.php b/src/App.php index 9202e80129..e5b95ec1d4 100644 --- a/src/App.php +++ b/src/App.php @@ -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"); -- 2.39.5