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

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