This commit is contained in:
Dave Horton
2022-01-24 15:22:28 -05:00
parent 9a71350875
commit dcd6ddcbca

View File

@@ -238,8 +238,8 @@ class Cognigy extends Task {
} }
_onTimeout(cs, ep, evt) { _onTimeout(cs, ep, evt) {
this.logger.debug({evt}, 'Rasa: got timeout'); this.logger.debug({evt}, 'Cognigy: got timeout');
if (!this.hasReportedFinalAction) this.performAction({rasaResult: 'timeout'}); if (!this.hasReportedFinalAction) this.performAction({cognigyResult: 'timeout'});
this.reportedFinalAction = true; this.reportedFinalAction = true;
this.notifyTaskDone(); this.notifyTaskDone();
} }