mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
add more logs
This commit is contained in:
@@ -280,6 +280,7 @@ class Cognigy extends Task {
|
||||
// todo inject the session config into the say task
|
||||
const sayTask = this._makeSayTask({text});
|
||||
await sayTask.exec(cs, ep, this);
|
||||
this.logger.debug({text}, 'executed say task');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -16,9 +16,8 @@ class SpeechConfig extends Emitter {
|
||||
this.update(opts);
|
||||
}
|
||||
|
||||
update(opts = {}) {
|
||||
update(session) {
|
||||
// TODO validation of session params?
|
||||
const {session } = opts;
|
||||
if (session) {
|
||||
this.sessionConfig = lodash.merge(
|
||||
{},
|
||||
|
||||
Reference in New Issue
Block a user