Badges.Helpers.ElmahHandledErrorLoggerFilter.OnException C# (CSharp) Method

OnException() public method

public OnException ( System.Web.Mvc.ExceptionContext context ) : void
context System.Web.Mvc.ExceptionContext
return void
        public void OnException(ExceptionContext context)
        {
            // Log only handled exceptions, because all other will be caught by ELMAH anyway.
            if (context.ExceptionHandled)
                ErrorSignal.FromCurrentContext().Raise(context.Exception);
        }
ElmahHandledErrorLoggerFilter