fix: resolve RedisCache array offset error and improve discovery diagnostics

- Fix RedisCache driver to handle MGET failures gracefully with fallback
- Add comprehensive discovery context comparison debug tools
- Identify root cause: WEB context discovery missing 166 items vs CLI
- WEB context missing RequestFactory class entirely (52 vs 69 commands)
- Improved exception handling with detailed binding diagnostics
This commit is contained in:
2025-09-12 20:05:18 +02:00
parent 8040d3e7a5
commit e30753ba0e
46990 changed files with 10789682 additions and 89639 deletions

View File

@@ -28,6 +28,31 @@ final readonly class ExceptionContext
return new self(operation: $operation, component: $component);
}
public function getOperation(): ?string
{
return $this->operation;
}
public function getComponent(): ?string
{
return $this->component;
}
public function getData(): array
{
return $this->data;
}
public function getDebug(): array
{
return $this->debug;
}
public function getMetadata(): array
{
return $this->metadata;
}
public function withOperation(string $operation, ?string $component = null): self
{
return new self(

View File

@@ -246,6 +246,14 @@ class FrameworkException extends \RuntimeException
return $new;
}
/**
* Get exception data from context
*/
public function getData(): array
{
return $this->context->data;
}
/**
* String-Representation für Logging
*/