Do you have generic exception handler in your Global.asax?
  v1.0 Posted at 26/08/2016 1:03 AM by Tiago Araujo
Add your code to handle generic exception of your ASP.NET application in Application_Error.

​​private static readonly ILog log = LogManager.GetLogger(typeof(MvcApplication));

        protected void Application_Error(object sender, EventArgs e)
            Exception ex = Server.GetLastError().GetBaseException();
            log.Fatal("Unhandled Exception", ex);

​Figure. Exception handler in Global.asax.cs​

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:


    Note: Social Media login for Yotpo is not working in IE or Safari, please use Chrome. We are waiting for Yotpo to fix it.