LINXD-1921: Remove console logs

This commit is contained in:
Sergiu Toma 2022-01-04 16:44:42 +02:00
parent 304dc6a322
commit 40f46c7ade

View File

@ -34,7 +34,6 @@ class Simulator {
} }
_start() { _start() {
console.log('start')
const settings = this.configs.settings; const settings = this.configs.settings;
this.assetIds.forEach((id, i) => { this.assetIds.forEach((id, i) => {
@ -76,7 +75,6 @@ class Simulator {
_unregisterAsstes(callback) { _unregisterAsstes(callback) {
let url = this.apiEndpoint + '/audio/un-register/[' + this.assetIds + ']/'; let url = this.apiEndpoint + '/audio/un-register/[' + this.assetIds + ']/';
console.log('_unregisterAsstes', url)
Request.post( Request.post(
url, url,
{timeout: 15000}, {timeout: 15000},
@ -84,11 +82,10 @@ class Simulator {
if(error) { if(error) {
utils.writeLog(`ERROR can't unregister users ${this.assetIds}`, error); utils.writeLog(`ERROR can't unregister users ${this.assetIds}`, error);
utils.writeErrorLog(`ERROR_API`); utils.writeErrorLog(`ERROR_API`);
console.log('url _unregisterAsstes', url)
return callback(error); return callback(error);
} }
else { else {
utils.writeLog(`Unregister assets: ${this.assetIds}`) utils.writeLog(`Unregister assets: ${this.assetIds}`);
return callback(); return callback();
} }
} }