Ejemplo n.º 1
0
        public override void OnException(HttpActionExecutedContext context)
        {
            if (context == null)
            {
                return;
            }

            LoggaService.CreateLogFromApiException(context);
        }
Ejemplo n.º 2
0
 void Application_Error(object sender, EventArgs e)
 {
     LoggaService.CreateLogFromContext(HttpContext.Current);
 }