fix crashing bug with uncaught exception in session.updateCall

This commit is contained in:
Dave Horton
2025-03-05 20:09:53 -05:00
parent 4dd3a4a4e7
commit ef9edd2125

View File

@@ -1635,6 +1635,7 @@ Duration=${duration} `
async updateCall(opts, callSid) {
this.logger.debug(opts, 'CallSession:updateCall');
try {
if (opts.call_status) {
return this._lccCallStatus(opts);
}
@@ -1689,6 +1690,9 @@ Duration=${duration} `
if (opts.whisper) {
return this._lccWhisper(opts, callSid);
}
} catch (err) {
this.logger.info({err, opts, callSid}, 'CallSession:updateCall - error updating call');
}
}
/**