handle exceptions if we invoke _lccCallHook with new url and it rejects for some reason (#1087)

This commit is contained in:
Dave Horton
2025-02-18 13:03:34 -05:00
committed by GitHub
parent 122d267816
commit e8a7366526

View File

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