Skip to content
Snippets Groups Projects
Commit 83a14980 authored by Karishma Chadha's avatar Karishma Chadha
Browse files

Remove unnecessary console logs that occur when sending and receiving cloud messages.

parent a4674aca
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,6 @@ class CloudProvider {
onMessage (event) {
const messageString = event.data;
log.info(`Received websocket message: ${messageString}`);
// Multiple commands can be received, newline separated
messageString.split('\n').forEach(message => {
if (message) { // .split can also contain '' in the array it returns
......@@ -156,7 +155,6 @@ class CloudProvider {
*/
_sendCloudData (data) {
this.connection.send(`${data}\n`);
log.info(`Sent message to clouddata server: ${data}`);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment