public override void OnException(ExceptionContext filterContext) { FileLogger logger = new FileLogger(); logger.LogException(filterContext.Exception); base.OnException(filterContext); // //filterContext.Result = new ContentResult() //{ // Content="Sorry for the Error" //}; }
public override void OnException(ExceptionContext filterContext) { FileLogger logger = new FileLogger(); logger.LogException(filterContext.Exception); base.OnException(filterContext); }