Spaces:
Runtime error
Runtime error
Commit
·
9c51ef8
1
Parent(s):
ba1597c
Update static/index.html
Browse files- static/index.html +2 -0
static/index.html
CHANGED
@@ -68,6 +68,8 @@
|
|
68 |
if (isConnected) {
|
69 |
try {
|
70 |
socket.send(JSON.stringify({ type: "heartbeat" }));
|
|
|
|
|
71 |
} catch (error) {
|
72 |
console.error("Error sending heartbeat:", error);
|
73 |
}
|
|
|
68 |
if (isConnected) {
|
69 |
try {
|
70 |
socket.send(JSON.stringify({ type: "heartbeat" }));
|
71 |
+
console.error("finished sending heartbeat:", error);
|
72 |
+
|
73 |
} catch (error) {
|
74 |
console.error("Error sending heartbeat:", error);
|
75 |
}
|