DeepScan bug fixes
This commit is contained in:
1 parent
2f0c8ec695
commit
f381eafe9d
1 file changed
+1
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user