Add extended ErrorHandling
This commit is contained in:
parent
e0411743e2
commit
acb06af28d
6 changed files with 322 additions and 1 deletions
|
@ -33,4 +33,6 @@ require dirname(__DIR__) . '/vendor/autoload.php';
|
|||
$dice = (new Dice())->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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue