protected void Application_Error(object sender, EventArgs e)
        {
            var lastExc = Server.GetLastError();
            var errcode = Dbl.AddLog(lastExc);
            var url     = string.Format("{0}?errcode={1}", SynNavigation.Pages.ErrorPage, errcode);

            SynNavigation.Goto(url);
        }
예제 #2
0
 protected void Application_Error(object sender, EventArgs e)
 {
     try
     {
         var lastExc = Server.GetLastError();
         var errcode = Dbl.AddLog(lastExc);
         StoreEx(lastExc);
     }
     catch (Exception ex)
     {
         StoreEx(ex);
     }
     SynNavigation.Goto(Pages.ErrorPage);
 }