This question relates to using ELMAH in an ASP.Net application. I have the following in my web.config.
<customErrors mode="Off" ">
</customErrors>
Also, whenever an unhandled error occurs, I clear it in Application_Error event as in code below.
protected void Application_Error(object sender, EventArgs e)
{
Server.ClearError();
Response.Redirect("~/errorpages/error.aspx");
}
My question : Will ELMAH log and email the error in this situation? I have the standard configuration for ELMAH in the web.config file.