add more logs

This commit is contained in:
akirilyuk
2022-02-26 23:27:00 +01:00
parent 48fa3133ef
commit 22440843d9

View File

@@ -99,7 +99,7 @@ class TaskGather extends Task {
} }
const startListening = (cs, ep) => { const startListening = (cs, ep) => {
this.logger.info("started listening for speech events via startListening"); this.logger.info({input: this.input, listenDuringPrompt: this.listenDuringPrompt}, "started listening for speech events via startListening");
this._startTimer(); this._startTimer();
if (this.input.includes('speech') && !this.listenDuringPrompt) { if (this.input.includes('speech') && !this.listenDuringPrompt) {
this._initSpeech(cs, ep) this._initSpeech(cs, ep)