X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fconsole.php;h=3e588acd6dc99d16ff779ff149f4aa26c4625e4c;hb=881c4204b4d023ed559da386b5e5f2888c97abe0;hp=27522d8554762bb0a607f21fb38d3020394cb0d4;hpb=097620b62799c96d610d73410ec07a6b8cdf82f0;p=friendica.git diff --git a/bin/console.php b/bin/console.php index 27522d8554..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();