Skip to content

fix(ws): replace catch unreachable with proper error handling#161

Merged
gHashTag merged 1 commit into
mainfrom
feat/issue-160
Mar 11, 2026
Merged

fix(ws): replace catch unreachable with proper error handling#161
gHashTag merged 1 commit into
mainfrom
feat/issue-160

Conversation

@gHashTag
Copy link
Copy Markdown
Owner

Summary

  • Replaced catch unreachable with proper error handling in WSClient.init
  • Changed function signature to return !WSClient for error propagation
  • Updated listenerLoop to handle errors gracefully with logging and cleanup

Changes

  1. Line 207: Changed init signature from WSClient to !WSClient
  2. Line 211: Replaced stream.address catch unreachable with try stream.address
  3. Lines 373-378: Added error handling in listenerLoop with proper logging and resource cleanup

Closes #160

🤖 Generated with Claude Code

- Changed WSClient.init signature to return !WSClient
- Used try for stream.address error propagation
- Updated listenerLoop to handle errors with logging and cleanup

Closes #160

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gHashTag gHashTag merged commit dae7b07 into main Mar 11, 2026
5 of 6 checks passed
gHashTag pushed a commit that referenced this pull request Mar 18, 2026
- Loop #161 in progress
- Call count: 7
- Branch: vibee-v10-tri-economy (73 commits ahead of main)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
gHashTag added a commit that referenced this pull request Mar 18, 2026
fix(ws): replace catch unreachable with proper error handling
@gHashTag gHashTag deleted the feat/issue-160 branch April 3, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ws): replace catch unreachable with proper error in intelligence_server.zig

1 participant