Browse Source

fix(JingleSession) log initialization error

Also return early to avoid weird errors if the initialization step fails.
Everything is broken at that stage pretty much.
dev1
Saúl Ibarra Corretgé 5 years ago
parent
commit
7ef29ebe8f
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      JitsiConference.js

+ 3
- 0
JitsiConference.js View File

1929
         });
1929
         });
1930
     } catch (error) {
1930
     } catch (error) {
1931
         GlobalOnErrorHandler.callErrorHandler(error);
1931
         GlobalOnErrorHandler.callErrorHandler(error);
1932
+        logger.error(error);
1933
+
1934
+        return;
1932
     }
1935
     }
1933
 
1936
 
1934
     // Open a channel with the videobridge.
1937
     // Open a channel with the videobridge.

Loading…
Cancel
Save