-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft.Extensions.FileProviders.Physical.Tests terminated #57128
Comments
Tagging subscribers to this area: @maryamariyan, @dotnet/area-extensions-filesystem Issue DetailsProduct bug here. FileNotFoundException should not take down the app. 'Microsoft.Extensions.FileProviders.Physical.Tests' from job 7359fb7e-bed2-4677-8025-0794e6d50356 workitem 38c6c2ba-c9ab-42a5-998b-a79c5089ce69 (windows.10.amd64.server19h1.open.rt) executed on machine a0036MX net6.0-windows-Debug-x86-CoreCLR_release-Windows.10.Amd64.Server19H1.Open
|
This is the new symlink API, but seems a reasonable exception to throw, so we should handle it. |
@adamsitnik is it fragile to run this code on a timer (basically QUWI) and aim to catch only documented exceptions? Since if something wierd happens the app terminates. I wonder whether it should capture all exceptions, like a Task, and rethrow them on the requesting thread? Not sure what the usual pattern is in this code, or whether rethrowing on the original thread would terminate the app anyway. |
@danmoseley FWIW I think this happens because
We could switch to |
FYI in case this is has the same underlying cause: #57221. |
Product bug here. FileNotFoundException should not take down the app.
'Microsoft.Extensions.FileProviders.Physical.Tests' from job 7359fb7e-bed2-4677-8025-0794e6d50356 workitem 38c6c2ba-c9ab-42a5-998b-a79c5089ce69 (windows.10.amd64.server19h1.open.rt) executed on machine a0036MX
net6.0-windows-Debug-x86-CoreCLR_release-Windows.10.Amd64.Server19H1.Open
The text was updated successfully, but these errors were encountered: