diff --git a/Client/webSocketsInterface.js b/Client/webSocketsInterface.js index c02b00989..84963a977 100644 --- a/Client/webSocketsInterface.js +++ b/Client/webSocketsInterface.js @@ -1,6 +1,5 @@ exports.newWebSocketsInterface = function newWebSocketsInterface() { - const MODULE = "Web Sockets Interface" const LOG_INFO = false let thisObject = { @@ -76,7 +75,7 @@ lastNonce = nonce try { - let jsonCheck = JSON.parse(messageToEventServer) + JSON.parse(messageToEventServer) } catch (err) { console.log('[ERROR] Client -> Web Sockets Interface -> run -> setUpWebSocketServer -> Message received from the browser is not a valid JSON. message = ' + message.substring(0, 1000)) console.log('[ERROR] Client -> Web Sockets Interface -> run -> setUpWebSocketServer -> Message received from the browser is not a valid JSON. messageToEventServer = ' + messageToEventServer)