Skip to content

Instantly share code, notes, and snippets.

@Ang3lFir3
Created April 29, 2011 04:16
Show Gist options
  • Save Ang3lFir3/947825 to your computer and use it in GitHub Desktop.
Save Ang3lFir3/947825 to your computer and use it in GitHub Desktop.
just one of the WTFs
try
{
EventReporter.AppendEvent("-- looking for items logged after " + ImexHistLogStartTime + ".", LogEventReporter.Criticality.Information);
if (ImexHistLoggedItemTimes.Count == 0)
{
EventReporter.AppendEvent("No events appear in the log on or after " + ImexHistLogStartTime + ".", LogEventReporter.Criticality.Warning);
throw new Exception("No Events appear in the log on or after " + ImexHistLogStartTime + ".");
}
}
catch (Exception exception3)
{
Exception ex = exception3;
throw ex;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment