Compare commits

..

2 Commits

View File

@ -223,9 +223,13 @@ class Asset {
utils.writeLog(`Asset ${this.id} audio registered`);
return callback();
} else {
utils.writeLog(`Asset ${this.id} audio registered error`, error);
utils.writeErrorLog(`ERROR_API`);
return callback(error);
console.log('_register--------------------')
console.log('error---', 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');
}
} else {
console.log('ssssss1--------------------')
console.log('_moveToChannel--------------------')
console.log('error---', error)
console.log('response---', response)
console.log('body---', body)
utils.writeLog(`Asset ${this.id} audio enter group error`, error);
utils.writeErrorLog(`ERROR_API`);
return callback(error);
// utils.writeLog(`Asset ${this.id} audio enter group error`, error);
// utils.writeErrorLog(`ERROR_API`);
// return callback(error);
}
}
);