Skip to content

Commit 262d9fc

Browse files
Potential fix for pull request finding 'Useless assignment to local variable'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 4fd6d46 commit 262d9fc

File tree

1 file changed

+1
-1
lines changed
  • samples/ExceptionPropertiesSample

1 file changed

+1
-1
lines changed

samples/ExceptionPropertiesSample/Tasks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public override async Task<string> RunAsync(TaskOrchestrationContext context, st
1919
string result = await context.CallActivityAsync<string>("ValidateInput", input);
2020
return result;
2121
}
22-
catch (TaskFailedException ex)
22+
catch (TaskFailedException)
2323
{
2424
// The failure details will include custom properties from IExceptionPropertiesProvider
2525
// These properties are automatically extracted and included in the TaskFailureDetails

0 commit comments

Comments
 (0)