Skip to content
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

EF: Consider handling OperationCanceledException instead of TaskCanceledException in UnhandledExceptionLoggingFilter #1587

Open
RolandGuijt opened this issue Sep 9, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@RolandGuijt
Copy link

OperationCanceledException could be the more appropriate exception to check for because some APIs just raise that.

See also: https://blog.stephencleary.com/2022/03/cancellation-3-detecting-cancellation.html#:~:text=And%20since%20TaskCanceledException%20derives%20from,Catch%20OperationCanceledException%20instead

And:
DuendeSoftware/Support#1377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants