IdentityServer
IdentityServer copied to clipboard
EF: Consider handling OperationCanceledException instead of TaskCanceledException in UnhandledExceptionLoggingFilter
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: https://github.com/DuendeSoftware/Support/issues/1377