chore(SocketIO): log connect error to console (#29911)
This commit is contained in:
parent
53e86379fe
commit
f4741e7310
1 changed files with 4 additions and 0 deletions
|
|
@ -65,6 +65,10 @@ class RealTimeClient {
|
|||
return;
|
||||
}
|
||||
|
||||
this.socket.on("connect_error", function (err) {
|
||||
console.error("Error connecting to socket.io:", err.message);
|
||||
});
|
||||
|
||||
this.socket.on("msgprint", function (message) {
|
||||
frappe.msgprint(message);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue