Replace ProblemDetailsWithStackTraceFactory with UnsupportedProblemDetailsFactory
Effectively forbid anyone from generating MVC's ProblemDetails from controllers, since they now throw a NotSupportedException.
Loading
Please register or sign in to comment