await gather task

This commit is contained in:
akirilyuk
2022-02-02 15:38:52 +01:00
parent 67d18b26ff
commit c7c99f45a4

View File

@@ -321,7 +321,7 @@ class Cognigy extends Task {
turnConfig: evt?.data?.config?.nextTurn turnConfig: evt?.data?.config?.nextTurn
}); });
try { try {
this.gatherTask.exec(cs, ep, this); await this.gatherTask.exec(cs, ep, this);
} catch (err) { } catch (err) {
this.logger.info({err}, 'Cognigy gather task returned error'); this.logger.info({err}, 'Cognigy gather task returned error');
} }