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

@ -34,6 +34,8 @@ $dice = $dice->addRule(Friendica\App\Mode::class, ['call' => [['determineRunMode
\Friendica\DI::init($dice);
\Friendica\Core\Logger\Handler\ErrorHandler::register($dice->create(\Psr\Log\LoggerInterface::class));
$a = \Friendica\DI::app();
\Friendica\DI::mode()->setExecutor(\Friendica\App\Mode::INDEX);