Merge pull request #5771 from matrix-org/dbkr/log_getusermedia_error

Log error when failing to list usermedia devices
pull/21833/head
David Baker 2021-03-19 09:58:06 +00:00 committed by GitHub
commit d06bd348a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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, {