diff --git a/lib/tasks/cognigy/index.js b/lib/tasks/cognigy/index.js index c7613397..d0289a6d 100644 --- a/lib/tasks/cognigy/index.js +++ b/lib/tasks/cognigy/index.js @@ -238,8 +238,8 @@ class Cognigy extends Task { } _onTimeout(cs, ep, evt) { - this.logger.debug({evt}, 'Rasa: got timeout'); - if (!this.hasReportedFinalAction) this.performAction({rasaResult: 'timeout'}); + this.logger.debug({evt}, 'Cognigy: got timeout'); + if (!this.hasReportedFinalAction) this.performAction({cognigyResult: 'timeout'}); this.reportedFinalAction = true; this.notifyTaskDone(); }