add more logs

This commit is contained in:
akirilyuk
2022-02-03 18:37:14 +01:00
parent f8e88f085f
commit cc67132dfa
2 changed files with 17 additions and 10 deletions

View File

@@ -263,16 +263,16 @@ class Cognigy extends Task {
try {
// lets wait until we have finished processing the speech before
// starting a gather...
this.logger.debug("enqueued bot final ping gather");
this.logger.debug('enqueued bot final ping gather');
this._enqueueTask(async() => {
this.logger.debug("executing bot final ping gather");
try {
this.logger.debug('executing bot final ping gather');
try {
const gatherTask = this._makeGatherTask();
await gatherTask.exec(cs, ep, this);
} catch (err) {
this.logger.info({err}, 'Cognigy final ping gather task returned error');
}
this.logger.debug("executed bot final ping gather");
this.logger.debug('executed bot final ping gather');
});
} catch (err) {