diff --git a/exec/load/json-client.js b/exec/load/json-client.js index 78e68c964c966e1836d5c8b747a5e48d7ad5dfcb..4d9d2085ed9e5fd26a9dbb6d5d160f1e8f384de4 100644 --- a/exec/load/json-client.js +++ b/exec/load/json-client.js @@ -104,7 +104,7 @@ function JSONClient(serverAddr,serverPort) { this.socket.connect(this.serverAddr,this.serverPort,this.settings.CONNECTION_TIMEOUT); if(!this.socket.is_connected) - throw("error connecting to server"); + throw("error " + this.socket.error + " connecting to TCP port " + this.serverPort + " on server " + this.serverAddr); return true; }