Improving error message

This commit is contained in:
David Négrier 2021-06-03 10:49:12 +02:00
parent eb6cfdf53d
commit 5f562f49c3
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ export const localStreamStore = derived<Readable<MediaStreamConstraints>, LocalS
//throw new Error('Unable to access your camera or microphone. Your browser is too old.');
set({
type: 'error',
error: new Error('Unable to access your camera or microphone. Your browser is too old.'),
error: new Error('Unable to access your camera or microphone. Your browser is too old. Please consider upgrading your browser or try using a recent version of Chrome.'),
constraints
});
return;