]> git.mxchange.org Git - friendica.git/blobdiff - bin/worker.php
Merge pull request #10936 from annando/speed-unused-contacts
[friendica.git] / bin / worker.php
index 46638a9ef3ad3b3a3bbe30d40ab9221e0a51c982..2fe03cb4b215320abab1a78f00ea748ba9c57b75 100755 (executable)
@@ -57,6 +57,7 @@ $dice = (new Dice())->addRules(include __DIR__ . '/../static/dependencies.config
 $dice = $dice->addRule(LoggerInterface::class,['constructParams' => ['worker']]);
 
 DI::init($dice);
+\Friendica\Core\Logger\Handler\ErrorHandler::register($dice->create(\Psr\Log\LoggerInterface::class));
 $a = DI::app();
 
 DI::mode()->setExecutor(Mode::WORKER);