Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Naman 20 posts 101 karma points
    Apr 06, 2016 @ 12:58
    Naman
    0

    Exception Handling not working correctly

    Hi All,

    We have overrided the method in our class inherited from Umbraco.Web.UmbracoApplication. Just for your information we are ASP.NET MVC in our umbraco project.

    protected override void OnApplicationError(object sender, EventArgs e)

    {

             Exception ex = Server.GetLastError();
    

    }

    The main motive of this method is to handle all the errors getting generated from Umbraco. However in one of our partial views "Division By zero error is coming" and our code is breaking in that action only and call is not throwing to "OnApplicationError" method as written above.

    I am still waiting for some help on this. Please help me.

Please Sign in or register to post replies

Write your reply to:

Draft