Exemplo n.º 1
0
        protected void Application_Error(Object sender, EventArgs e)
        {
            var raisedException = Server.GetLastError();
            var userName        = User.Identity.Name;
            var url             = HttpContext.Current.Request.Url.ToString();

            ServerError.LogException(raisedException, url, userName);
        }