Wrap stream() in try/catch to prevent silent failures. On exception, log the error and yield a structured error event: ['type' => 'error', 'message' => string] Adds tests for connection errors, runtime exceptions, error event format, and Log::error invocation. Closes ERR-001 in TODO.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Concerns | ||
| .gitkeep | ||
| AgentDetectionTest.php | ||
| AgenticManagerTest.php | ||
| ClaudeServiceTest.php | ||
| GeminiServiceTest.php | ||
| OpenAIServiceTest.php | ||
| ProcessContentTaskTest.php | ||