This commit is contained in:
2009-11-03 16:31:30 +00:00
parent 27cb94f418
commit afc16fb9f9
6 changed files with 102 additions and 48 deletions

View File

@@ -48,7 +48,13 @@ namespace DataLoader
{
log.Error("Error getting RO Usages");
log.ErrorFormat("proc number = {0}, oldstepsequence = {1}",ProcNumber, seqcvt);
log.ErrorFormat("{0}\r\n\r\n{1}", ex.Message, ex.InnerException);
do
{
log.ErrorFormat("{0} - {1}", ex.GetType().Name, ex.Message);
ex = ex.InnerException;
} while (ex != null);
ds.Dispose();
da.Dispose();
return textm;
}
int tok = textm.IndexOf('\x15');
@@ -105,7 +111,9 @@ namespace DataLoader
}
if (beg <= textm.Length - 1)
rotxt.Append(textm.Substring(beg, textm.Length - beg));
ds.Dispose();
da.Dispose();
return rotxt.ToString();
}
}