Skip to content

Commit

Permalink
Add logging for audio recorder exceptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-signal committed Feb 1, 2023
1 parent f320cf8 commit b5d52db
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3721,6 +3721,7 @@ public void onSuccess(@NonNull VoiceNoteDraft draft) {
@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;
}
Expand Down

0 comments on commit b5d52db

Please sign in to comment.