From f381eafe9da9a151559fc51514ff275cbdfc2ea1 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 24 Aug 2021 12:57:28 +0200 Subject: [PATCH] DeepScan bug fixes --- Client/webSocketsInterface.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)