remove debug code
This commit is contained in:
parent
c3ac7ac81d
commit
3e65994474
|
@ -229,7 +229,7 @@ function deserialize_json_value(value) {
|
|||
|
||||
return result;
|
||||
}
|
||||
let commandCounter = 0;
|
||||
|
||||
function sendRequest(command, data, host = sessionHost) {
|
||||
clearTimeout(pollTimeoutId);
|
||||
try {
|
||||
|
@ -241,9 +241,7 @@ function sendRequest(command, data, host = sessionHost) {
|
|||
|
||||
commandCounter++;
|
||||
let url = 'http://' + host + '/' + command;
|
||||
console.log(`\n command ${commandCounter} ${command} data ${JSON.stringify(data)}`);
|
||||
let response = makeRequest(url, data);
|
||||
console.log(`\n command ${commandCounter} response ${JSON.stringify(response)}`);
|
||||
|
||||
if (!response || response.error) {
|
||||
let error = response && response.error;
|
||||
|
|
Loading…
Reference in New Issue