| ... | ... | @@ -186,10 +186,10 @@ export class WsTransport { |
| 186 | 186 | this.scheduleReconnect(); |
| 187 | 187 | }); |
| 188 | 188 | |
| 189 | | ws.addEventListener("error", () => { |
| 190 | | // close will follow |
| 189 | ws.addEventListener("error", (event) => { |
| 190 | // Log WebSocket errors for debugging (close event will follow) |
| 191 | console.warn("WebSocket connection error", { type: event.type, url: this.url }); |
| 191 | 192 | }); |
| 192 | | } |
| 193 | 193 | |
| 194 | 194 | private handleMessage(raw: unknown) { |
| 195 | 195 | const result = decodeWsResponse(raw); |