From ca21fd971de33f73edd4cddcad40e4f534873477 Mon Sep 17 00:00:00 2001 From: Stephen Hodgson Date: Mon, 11 Nov 2024 11:04:37 -0500 Subject: [PATCH] fix calling method --- .../com.com.utilities.encoder.ogg/Runtime/OggEncoder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.utilities.encoder.ogg/Packages/com.com.utilities.encoder.ogg/Runtime/OggEncoder.cs b/com.utilities.encoder.ogg/Packages/com.com.utilities.encoder.ogg/Runtime/OggEncoder.cs index 7cd4f30..b9a9324 100644 --- a/com.utilities.encoder.ogg/Packages/com.com.utilities.encoder.ogg/Runtime/OggEncoder.cs +++ b/com.utilities.encoder.ogg/Packages/com.com.utilities.encoder.ogg/Runtime/OggEncoder.cs @@ -104,7 +104,7 @@ public async Task> 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;