From 0fabf3ce87d2cc3902aba896e4f7a01b1e2ce9ae Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Fri, 18 Oct 2024 11:01:22 -0700 Subject: [PATCH] remove confusing exception variable name --- .../csharp/System/AggregateException/Overview/exception1.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/csharp/System/AggregateException/Overview/exception1.cs b/snippets/csharp/System/AggregateException/Overview/exception1.cs index 528965a8608..f151cd96345 100644 --- a/snippets/csharp/System/AggregateException/Overview/exception1.cs +++ b/snippets/csharp/System/AggregateException/Overview/exception1.cs @@ -21,7 +21,7 @@ static async Task Main(string[] args) { await task1; } - catch (UnauthorizedAccessException ae) + catch (UnauthorizedAccessException) { Console.WriteLine("Caught unauthorized access exception-await behavior"); }