better logging of ws commands

This commit is contained in:
Dave Horton
2023-04-13 13:26:46 -04:00
parent e656d275fe
commit 0b29e67a0c

View File

@@ -1192,7 +1192,7 @@ class CallSession extends Emitter {
}
_onCommand({msgid, command, call_sid, queueCommand, data}) {
this.logger.info({msgid, command, queueCommand}, 'CallSession:_onCommand - received command');
this.logger.info({msgid, command, queueCommand, data}, 'CallSession:_onCommand - received command');
const resolution = {reason: 'received command', queue: queueCommand, command};
switch (command) {
case 'redirect':