Blog.Admin.Web.Attributes.ElmahHandleErrorAttribute.RaiseErrorSignal C# (CSharp) Method

RaiseErrorSignal() private static method

private static RaiseErrorSignal ( Exception e ) : bool
e System.Exception
return bool
        private static bool RaiseErrorSignal(Exception e)
        {
            var context = HttpContext.Current;
            if (context == null)
                return false;
            var signal = ErrorSignal.FromContext(context);
            if (signal == null)
                return false;
            signal.Raise(e, context);
            return true;
        }