|
@@ -1520,6 +1520,8 @@ export default {
|
1520
|
1520
|
// asynchronous, but does not return a Promise and is not part of
|
1521
|
1521
|
// the current Promise chain.
|
1522
|
1522
|
this._handleScreenSharingError(error);
|
|
1523
|
+
|
|
1524
|
+ return Promise.reject(error);
|
1523
|
1525
|
});
|
1524
|
1526
|
},
|
1525
|
1527
|
|
|
@@ -1548,7 +1550,7 @@ export default {
|
1548
|
1550
|
// again switching to the screen sharing.
|
1549
|
1551
|
APP.UI.showExtensionInlineInstallationDialog(
|
1550
|
1552
|
() => {
|
1551
|
|
- this.toggleScreenSharing();
|
|
1553
|
+ this.toggleScreenSharing().catch(() => {});
|
1552
|
1554
|
}
|
1553
|
1555
|
);
|
1554
|
1556
|
|