feat: implement exception handling system with error context and policies
This commit is contained in:
@@ -29,8 +29,7 @@ final readonly class InitializerProcessor
|
||||
private Container $container,
|
||||
private ReflectionProvider $reflectionProvider,
|
||||
private ExecutionContext $executionContext,
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
/**
|
||||
* Intelligente Initializer-Verarbeitung mit Dependency-Graph:
|
||||
@@ -41,7 +40,7 @@ final readonly class InitializerProcessor
|
||||
public function processInitializers(DiscoveryRegistry $results): void
|
||||
{
|
||||
// Safe Logger resolution - use if available, otherwise rely on error_log
|
||||
$logger = $this->container->has(Logger::class) ? $this->container->get(Logger::class) : null;
|
||||
$logger = $this->container->get(Logger::class);
|
||||
$initializerResults = $results->attributes->get(Initializer::class);
|
||||
|
||||
$logger?->debug("InitializerProcessor: Processing " . count($initializerResults) . " initializers");
|
||||
|
||||
Reference in New Issue
Block a user