use registerErrorHandler() in processWorker()

This commit is contained in:
Art4 2024-12-26 19:13:34 +00:00
parent e0a249f9a4
commit 3ae9ae8728

View file

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