Skip to content

Commit

Permalink
Feat(audio-recorder): Another error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Vija02 committed Dec 14, 2024
1 parent 9b6f84c commit caa489a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/audio-recorder/view/useAudioRecording.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function startStreamUpload({
}) {
mediaRecorder.onerror = (err) => {
console.error(err);
alert("Error occured: " + err);
pluginApi.remote.toast(`Audio Recorder: Failed to record. Error: ${err}`);

// reset()
};
Expand Down

0 comments on commit caa489a

Please sign in to comment.