FMSC-Measurements / CruiseProcessing

2 stars 1 forks source link

ArgumentOutOfRange exception while generating CSV reports #21

Closed BenCamps closed 5 months ago

BenCamps commented 8 months ago

While generating CSV reports a unhandled ArgumentOutOrRange exception is being thrown at OutputCSV.OutputCSVFiles line 122 This is due to the logic used to scan the already outputted reports file. The out file gets scanned line-by-line by looking for the report name in the first few characters of the line until the desired report is found. However if the line is shorter than expected i.e. just two characters long a exception gets thrown.