More in this section

Forums / General Discussions / Manually log errors?

Manually log errors?

2 posts, 0 answered
  1. Basem
    Basem avatar
    131 posts
    Registered:
    22 Dec 2010
    05 May 2011
    Link to this post
    How do I manually log errors through the API? For example, in my catch statement below I want to put it through Sitefinity's error handling to get it written to the logs folder:

    try
    {
        int i = 1/0;
    }
    catch (Exception ex)
    {
        //HANDLE ERROR?
    }
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    05 May 2011
    Link to this post
    Hi Basem,

    Please check this post

    http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/where-is-telerik-utilities-log-exception.aspx

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered