protected override void OnException(ExceptionContext filterContext) { Exception ex = filterContext.Exception; filterContext.ExceptionHandled = true; if (!ex.GetType().IsSubclassOf(typeof(ApplicationException))) { AsyncLogger.Error(ex); } HandleErrorInfo model = new HandleErrorInfo(filterContext.Exception, "Controller", "Action"); filterContext.Result = new ViewResult() { ViewName = "Error", ViewData = new ViewDataDictionary(model) }; }