public override void OnException(ExceptionContext context)
        {
            if (Dismiss(context))
            {
                return;
            }
            this.OneTrueCollector = new OneTrueCollector();
            DefaultCollection(context);
            ElmahCollection(context);
            CustomCollection(OneTrueCollector, context);


            string errorId = null;

            try
            {
                errorId = OneTrueProxy.UploadMvcCollector(this.OneTrueCollector, this, context.Exception, context.HttpContext);
            }
            catch (Exception ex)
            {
                OnReportingException(context, ex);
            }
            context.HttpContext.Response.StatusCode = 500;
            context.Result = GetErrorView(context, errorId);
        }
        protected override void CustomCollection(OneTrueCollector collector, ExceptionContext filterContext)
        {
            Dictionary <string, string> customDict = new Dictionary <string, string>();

            customDict.Add("CustNameNull", null);
            customDict.Add("CustName", "Tester");
            collector.CollectDictionary("Custom", customDict);
        }
 /// <summary>
 /// 自訂收集
 /// </summary>
 /// <param name="items"></param>
 /// <param name="converter"></param>
 /// <param name="filterContext"></param>
 protected virtual void CustomCollection(OneTrueCollector collector, ExceptionContext filterContext)
 {
 }