debug: add WebSocket stability delay and enhanced checks
- Added 100ms delay before sending command to ensure WebSocket stability - Added detailed WebSocket state logging (CONNECTING, OPEN, CLOSING, CLOSED) - Added bufferedAmount check to wait for pending sends - Wrapped ws.send() in try-catch for better error reporting - Split terminal and ws existence checks for clearer debugging
This commit is contained in:
Binary file not shown.
Reference in New Issue
Block a user