Update logs and create certs for .169 Part2

This commit is contained in:
Sergiu Toma 2020-08-05 13:06:35 +03:00
parent 66621ed724
commit 7f512305b4
1 changed files with 11 additions and 7 deletions

View File

@ -223,9 +223,13 @@ class Asset {
utils.writeLog(`Asset ${this.id} audio registered`); utils.writeLog(`Asset ${this.id} audio registered`);
return callback(); return callback();
} else { } else {
utils.writeLog(`Asset ${this.id} audio registered error`, error); console.log('_register--------------------')
utils.writeErrorLog(`ERROR_API`); console.log('error---', error)
return callback(error); console.log('response---', response)
console.log('body---', body)
// utils.writeLog(`Asset ${this.id} audio registered error`, error);
// utils.writeErrorLog(`ERROR_API`);
// return callback(error);
} }
} }
); );
@ -262,13 +266,13 @@ class Asset {
return callback('Cannot send group-monitoring: Hub not connected'); return callback('Cannot send group-monitoring: Hub not connected');
} }
} else { } else {
console.log('ssssss1--------------------') console.log('_moveToChannel--------------------')
console.log('error---', error) console.log('error---', error)
console.log('response---', response) console.log('response---', response)
console.log('body---', body) console.log('body---', body)
utils.writeLog(`Asset ${this.id} audio enter group error`, error); // utils.writeLog(`Asset ${this.id} audio enter group error`, error);
utils.writeErrorLog(`ERROR_API`); // utils.writeErrorLog(`ERROR_API`);
return callback(error); // return callback(error);
} }
} }
); );