Update release assets for v2.0.3

This commit is contained in:
Koala
2026-06-03 10:50:43 +02:00
parent 543bfe074d
commit bb7bd21102
12 changed files with 35 additions and 32 deletions
+5 -2
View File
@@ -482,12 +482,15 @@ async function connect() {
socket.onerror = () => {
broadcastConnectionStatus('disconnected');
addLog('WebSocket Error: Connection failed', 'error');
const logType = reconnectAttempts > 1 ? 'error' : 'warn';
addLog('WebSocket Error: Connection failed', logType);
};
} catch (e) {
isConnecting = false;
addLog(e.message, 'error');
const logType = reconnectAttempts > 1 ? 'error' : 'warn';
const errMsg = (e && e.message) ? e.message : String(e || 'Unknown connection error');
addLog(errMsg, logType);
broadcastConnectionStatus('disconnected');
scheduleReconnect();
}