rwadurian/backend/mpc-system/services
hailin ff995a827b fix(grpc-client): add connection check and better error handling in subscribeMessages
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>
2025-12-31 13:09:45 -08:00
..
account Revert "fix(co-keygen): convert threshold at storage time to match tss-lib convention" 2025-12-31 10:24:25 -08:00
message-router fix(message-router): 修复 JoinSession 代理未转发 Status 字段 2025-12-30 09:20:15 -08:00
server-party feat(server-party): add ExecuteWithSessionInfo for co-managed keygen 2025-12-30 00:43:09 -08:00
server-party-api fix(context): use parent context instead of Background() to allow proper cancellation 2025-12-06 06:36:34 -08:00
server-party-co-managed fix(server-party-co-managed): use session_started event for participants list 2025-12-30 00:52:28 -08:00
service-party-app fix(grpc-client): add connection check and better error handling in subscribeMessages 2025-12-31 13:09:45 -08:00
session-coordinator fix(session): distinguish keygen vs sign in CanStart() and AllPartiesReady() 2025-12-31 08:34:40 -08:00
tss-wasm fix(tss): convert threshold to tss-lib format (threshold-1) in all keygen and signing 2025-12-31 12:19:58 -08:00