Example #1
0
 static void ShowLog()
 {
     try
     {
         Session IrSe = GetLog(CurrentSource, CurrentID);
         CurrentSession = IrSe;
         IronUI.FillLogDisplayFields(IrSe, Analyzer.CheckReflections(IrSe));
     }
     catch (Exception Exp)
     {
         if (Exp.Message.Equals("ID not found in DB"))
         {
             IronUI.ShowLogStatus(string.Format("Record ID - {0} not found in DB", CurrentID.ToString()), true);
         }
         else
         {
             IronUI.ShowLogStatus("Unable to load Request/Response from Log", true);
             IronException.Report("Error reading from " + SourceName(CurrentSource) + " log", Exp.Message, Exp.StackTrace);
         }
     }
 }