Skip to content

Commit

Permalink
dont make wrong and outdated claims about the error code
Browse files Browse the repository at this point in the history
  • Loading branch information
fippo committed Dec 10, 2020
1 parent d81c439 commit e1fd1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/peerconnection/constraints/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function getMedia() {
navigator.mediaDevices.getUserMedia(getUserMediaConstraints())
.then(gotStream)
.catch(e => {
const message = `getUserMedia error: ${e.name}\nPermissionDeniedError may mean invalid constraints.`;
const message = `getUserMedia error: ${e.name}\nThis may mean invalid constraints.`;
alert(message);
console.log(message);
getMediaButton.disabled = false;
Expand Down

0 comments on commit e1fd1c7

Please sign in to comment.