Catches promise errors, returned when error is received after dial cmd.
This commit is contained in:
parent
61e637a639
commit
c8ab1b9892
|
@ -1657,7 +1657,10 @@ export default {
|
||||||
});
|
});
|
||||||
|
|
||||||
APP.UI.addListener(UIEvents.SIP_DIAL, (sipNumber) => {
|
APP.UI.addListener(UIEvents.SIP_DIAL, (sipNumber) => {
|
||||||
room.dial(sipNumber);
|
room.dial(sipNumber)
|
||||||
|
.catch((err) => {
|
||||||
|
logger.error("Error dialing out", err);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
APP.UI.addListener(UIEvents.RESOLUTION_CHANGED,
|
APP.UI.addListener(UIEvents.RESOLUTION_CHANGED,
|
||||||
|
|
Loading…
Reference in New Issue