Log error when failing to list usermedia devices

So we can debug why this might be failing
This commit is contained in:
David Baker 2021-03-18 16:41:22 +00:00
parent 9ac5f4d2ee
commit 84b6027d41

View file

@ -84,6 +84,7 @@ export default class VoiceUserSettingsTab extends React.Component {
}
}
if (error) {
console.log("Failed to list userMedia devices", error);
const brand = SdkConfig.get().brand;
const ErrorDialog = sdk.getComponent('dialogs.ErrorDialog');
Modal.createTrackedDialog('No media permissions', '', ErrorDialog, {