Skip to content

Commit

Permalink
fix calling method
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson committed Nov 11, 2024
1 parent 85aff87 commit ca21fd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public async Task<Tuple<string, AudioClip>> StreamSaveToDiskAsync(ClipData clipD
{
if (callingMethodName != nameof(RecordingManager.StartRecordingAsync))
{
throw new InvalidOperationException($"{nameof(StreamSaveToDiskAsync)} can only be called from {nameof(RecordingManager.StartRecordingAsync)}");
throw new InvalidOperationException($"{nameof(StreamSaveToDiskAsync)} can only be called from {nameof(RecordingManager.StartRecordingAsync)} not {callingMethodName}");
}

var outputPath = string.Empty;
Expand Down

0 comments on commit ca21fd9

Please sign in to comment.