diff --git a/src/views/index.html b/src/views/index.html
index 1a8ce5a..4d79d1d 100644
--- a/src/views/index.html
+++ b/src/views/index.html
@@ -223,6 +223,11 @@
}))
};
+ this.app_ws.onerror = (error) => {
+ console.error('WebSocket error:', error);
+ showErrorInfo('Connection error occurred. Please refresh the page.');
+ };
+
this.app_ws.onerror = (error) => {
console.error('WebSocket error:', error);
showErrorInfo('Connection error occurred. Please refresh the page.');