mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Adds error dialog when voice recorder cannot start
This commit is contained in:
@@ -68,8 +68,12 @@ export class RecorderClass {
|
||||
this.source = this.context.createMediaStreamSource(stream);
|
||||
this.source.connect(this.input);
|
||||
} catch (err) {
|
||||
log.error('Recorder.onGetUserMediaError:', err);
|
||||
log.error(
|
||||
'Recorder.onGetUserMediaError:',
|
||||
err && err.stack ? err.stack : err
|
||||
);
|
||||
this.clear();
|
||||
throw err;
|
||||
}
|
||||
|
||||
if (this.recorder) {
|
||||
|
||||
Reference in New Issue
Block a user