X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fconsole.php;h=3e588acd6dc99d16ff779ff149f4aa26c4625e4c;hb=51a7b5c5846c320dd273f5b1005d856416dd1252;hp=0684f240e2113b8fe782f69f4ff536faeaf049e7;hpb=53e38b03130ea798bba44db44ccb7f331dc4b91d;p=friendica.git diff --git a/bin/console.php b/bin/console.php index 0684f240e2..3e588acd6d 100755 --- a/bin/console.php +++ b/bin/console.php @@ -1,7 +1,7 @@ #!/usr/bin/env php addRules(include __DIR__ . '/../static/dependencies.config.php'); $dice = $dice->addRule(LoggerInterface::class,['constructParams' => ['console']]); +\Friendica\Core\Logger\Handler\ErrorHandler::register($dice->create(\Psr\Log\LoggerInterface::class)); + (new Friendica\Core\Console($dice, $argv))->execute();