You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, in that case, I think we should just remove ShouldRethrowException altogether (it hasn't shipped yet) as it would allow you to misconfigure the middleware.
I am thinking of introducing two new methods for
ProblemDetailsOptions
class:Rethrow<T>() where T:Exception
Rethrow<T>(Func<HttpContext, Boolean> predicate) where T:Exception
The logic would run before
ShouldRethrowException
.The text was updated successfully, but these errors were encountered: