Add logging for audio recorder exceptions.

This commit is contained in:
Nicholas Tinsley
2023-02-01 11:41:30 -05:00
parent f320cf8833
commit b5d52db57c

View File

@@ -3721,6 +3721,7 @@ public class ConversationParentFragment extends Fragment
@Override
public void onError(Throwable t) {
Toast.makeText(requireContext(), R.string.ConversationActivity_unable_to_record_audio, Toast.LENGTH_LONG).show();
Log.e(TAG, "Error in RecordingSession.", t);
recordingSession.dispose();
recordingSession = null;
}