Restore task dumps stack because TaskCanceledException should be OperationCanceledException #12700
Labels
Category:Quality Week
Issues that should be considered for quality week
Community
PRs (and linked Issues) created by someone not in the NuGet team
Functionality:Restore
Priority:2
Issues for the current backlog.
Type:Bug
Milestone
Moving from dotnet/msbuild#7145
The RestoreTask tries to account for a cancellation token, but in its catch for it, it checks for a TaskCanceledException instead of an OperationCanceledException.
This catch should be for OperationCanceledException thrown here.
The text was updated successfully, but these errors were encountered: