mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 22:58:07 +02:00
Add extended ErrorHandling
This commit is contained in:
parent
e0411743e2
commit
acb06af28d
6 changed files with 322 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue