Example #1
0
        protected void Application_Error()
        {
            Exception ex = Server.GetLastError();

            ErrorLogService.LogError(ex);
        }
Example #2
0
 public override void OnException(HttpActionExecutedContext context)
 {
     ErrorLogService.LogError(context.Exception);
 }