diff --git a/lib/tasks/cognigy/index.js b/lib/tasks/cognigy/index.js index 7718f1d8..e3801291 100644 --- a/lib/tasks/cognigy/index.js +++ b/lib/tasks/cognigy/index.js @@ -321,7 +321,7 @@ class Cognigy extends Task { turnConfig: evt?.data?.config?.nextTurn }); try { - this.gatherTask.exec(cs, ep, this); + await this.gatherTask.exec(cs, ep, this); } catch (err) { this.logger.info({err}, 'Cognigy gather task returned error'); }