diff --git a/Platform/Client/webSocketsInterface.js b/Platform/Client/webSocketsInterface.js index 1e2f39c23..b8e6ccca1 100644 --- a/Platform/Client/webSocketsInterface.js +++ b/Platform/Client/webSocketsInterface.js @@ -97,7 +97,8 @@ } } } catch (err) { - console.log('[ERROR] Client -> Web Sockets Interface -> run -> setUpWebSocketServer -> err.message = ' + err.message.substring(0, 1000)) + console.log('[ERROR] Client -> Web Sockets Interface -> run -> setUpWebSocketServer -> err.message = ' + err.message) + console.log('[ERROR] Client -> Web Sockets Interface -> run -> setUpWebSocketServer -> err.message = ' + err.stack) } } } \ No newline at end of file diff --git a/PlatformRoot.js b/PlatformRoot.js index ad5b02fee..4e0743575 100644 --- a/PlatformRoot.js +++ b/PlatformRoot.js @@ -35,6 +35,7 @@ Setting up external dependencies. */ SA.nodeModules = { fs: require('fs'), + ws: require('ws'), web3: require('web3'), ethers: require('ethers'), ethereumjsTx: require('ethereumjs-tx'), diff --git a/TaskServerRoot.js b/TaskServerRoot.js index 18f6f789e..3024aaafe 100644 --- a/TaskServerRoot.js +++ b/TaskServerRoot.js @@ -35,6 +35,7 @@ Setting up external dependencies. */ SA.nodeModules = { fs: require('fs'), + ws: require('ws'), web3: require('web3'), nodeFetch: require('node-fetch'), http: require('http'),