In my MVC application, unhandled exceptions and the called Application_Error()
handler sometimes occur.
The problem is that if I access Response.StatusCode
inside Application_Error()
, this happens to be 200
, although there was an unhandled exception. I would rather expect 500.
Why is it 200, although there was an unhandled exception?
source share