ASP.net MVC [HandleError] not catching exceptions
In Web.config, change customErrors: <system.web> <customErrors mode=”On”> </customErrors> If mode is either Off or RemoteOnly, then you will see the yellow screen of death instead of the custom error page. The reasoning is that developers usually want the more detailed information on the yellow screen of death.