Example #1
0
 public static void ReportEventException(string profileName, EventExceptionEventArgs args)
 {
     try
     {
         ErrorLog.AddError(string.Format(CultureInfo.CurrentCulture, "Error in {0}:", profileName));
         ErrorLog.AddError(args.ToString("v"));
     }
     catch { }
 }