Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Catches promise errors, returned when error is received after dial cmd.

damenchoc8ab1b9892bd
diff --git a/conference.js b/conference.js
index 6065351d39..c812eb415b 100644
--- a/conference.js
+++ b/conference.js
@@ -1657,7 +1657,10 @@ export default {
});
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,