Additional safeguards to prevent "CANCELLED: Cancelled on client" error: 1. Add `this.connected` check at the start of subscribeMessages() 2. Set messageStream to null after canceling old stream 3. Wrap new stream creation in try-catch to handle creation errors 4. Add logging for ignored cancel errors These changes ensure that: - subscribeMessages won't proceed if connection is lost - Old stream is fully cleaned up before creating new one - Errors during stream creation are properly caught and logged 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| electron | ||
| proto | ||
| scripts | ||
| src | ||
| tss-party | ||
| .gitignore | ||
| build-windows.bat | ||
| electron-builder.json | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.electron.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||