X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fconsole.php;h=35f0b5feefcf3820bfaca4739cca5eaee7e64e49;hb=214a0524ddc069f71c896eef8ccf031033125932;hp=27522d8554762bb0a607f21fb38d3020394cb0d4;hpb=2ec3a97393959e42d450e074271d2d622d25701f;p=friendica.git diff --git a/bin/console.php b/bin/console.php index 27522d8554..35f0b5feef 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();