Skip to content

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

Enables global error handler.

damenchoe56c93679817
diff --git a/conference.js b/conference.js
index c688578999..e8523f1f89 100644
--- a/conference.js
+++ b/conference.js
@@ -316,6 +316,9 @@ export default {
this.roomName = options.roomName;
JitsiMeetJS.setLogLevel(JitsiMeetJS.logLevels.TRACE);
+ // attaches global error handler
+ window.onerror = JitsiMeetJS.getGlobalOnErrorHandler;
+
return JitsiMeetJS.init(config).then(() => {
return Promise.all([
// try to retrieve audio and video