This commit is contained in:
Loretta 2024-12-04 19:55:49 +01:00
parent 7345646373
commit c1308f8fe9
1 changed files with 3 additions and 3 deletions

View File

@ -58,15 +58,15 @@
Data: data
};
console.log("Before send message to the server." + messageType);
console.log("Before send message to the server! " + messageType);
connection.invoke("ReceiveMessageFromClient", messageWrapper)
.then(() => {
console.log("Message successfully sent to the server." + messageType);
console.log("Message successfully sent to the server! " + messageType);
})
.catch(err => {
//window.RequestCount--;
console.error("Error sending message to the server:" + messageType, err);
console.error("Error sending message to the server! " + messageType, err);
});
};