fix: add error handling to ClaudeService streaming #54
No reviewers
Labels
No labels
P1
P2
P3
PHP
agent-ready
bug
clotho
discovery
docs
refactor
review
security
testing
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/php-agentic#54
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/stream-error-handling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
ClaudeService::stream()intry/catchto prevent silent failures['type' => 'error', 'message' => string]on exceptionLog::error()with contextError Event Format
On stream failure, a single array event is yielded before the generator terminates:
Test Plan
type: errortypeandmessagekeysLog::erroris called with error contextCloses #26
Resolves ERR-001 in TODO.md
🤖 Generated with Claude Code