diff --git a/src/App.php b/src/App.php index f5c0240f26..e0ab61c5dd 100644 --- a/src/App.php +++ b/src/App.php @@ -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);