From 9ae95f82afff28a80aa13c6b202a69b2afdce9c9 Mon Sep 17 00:00:00 2001 From: Dan Begallie Date: Wed, 3 May 2023 08:57:55 -0400 Subject: [PATCH] Exception warning --- OpenAI.Playground/TestHelpers/CompletionTestHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenAI.Playground/TestHelpers/CompletionTestHelper.cs b/OpenAI.Playground/TestHelpers/CompletionTestHelper.cs index a8a80ac6..852c9f11 100644 --- a/OpenAI.Playground/TestHelpers/CompletionTestHelper.cs +++ b/OpenAI.Playground/TestHelpers/CompletionTestHelper.cs @@ -209,7 +209,7 @@ public static async Task RunSimpleCompletionStreamTestWithCancellationToken(IOpe } } } - catch (OperationCanceledException e) + catch (OperationCanceledException) { ConsoleExtensions.WriteLine("Operation Cancelled", ConsoleColor.Green); } @@ -223,4 +223,4 @@ public static async Task RunSimpleCompletionStreamTestWithCancellationToken(IOpe throw; } } -} \ No newline at end of file +}