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 | ||
| AgentApiKeyService.php | ||
| AgentDetection.php | ||
| AgenticManager.php | ||
| AgenticProviderInterface.php | ||
| AgenticResponse.php | ||
| AgentSessionService.php | ||
| AgentToolRegistry.php | ||
| ClaudeService.php | ||
| ContentService.php | ||
| GeminiService.php | ||
| IpRestrictionService.php | ||
| OpenAIService.php | ||
| PlanTemplateService.php | ||