Add extended ErrorHandling

This commit is contained in:
Philipp 2021-10-23 20:46:17 +02:00
parent e0411743e2
commit acb06af28d
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
6 changed files with 322 additions and 1 deletions

View file

@ -60,6 +60,7 @@ $dice = (new Dice())->addRules(include __DIR__ . '/../static/dependencies.config
$dice = $dice->addRule(LoggerInterface::class,['constructParams' => ['daemon']]);
DI::init($dice);
\Friendica\Core\Logger\Handler\ErrorHandler::register($dice->create(\Psr\Log\LoggerInterface::class));
$a = DI::app();
if (DI::mode()->isInstall()) {