MET08THFTIRSTRATUS - v2.39.0 - ProcessFailed

This commit is contained in:
2022-03-02 09:54:30 -07:00
parent 524afe5639
commit 75974ae87d
5 changed files with 38 additions and 10 deletions

View File

@ -118,7 +118,10 @@ public class FileRead : Shared.FileRead, IFileRead
}
if (!iProcessData.Details.Any())
throw new Exception(string.Concat("No Data - ", dateTime.Ticks));
results = iProcessData.GetResults(this, _Logistics, results.Item4);
if (iProcessData.Details[0] is Detail detail && string.IsNullOrEmpty(detail.PassFail))
results.Item4.Add(new FileInfo(reportFullPath));
else
results = iProcessData.GetResults(this, _Logistics, results.Item4);
}
return results;
}