billgraziano / CsvDataReader

Fast streaming CSV file reader for PowerShell impleted as a DataReader.
40 stars 22 forks source link

Return raw data on an error #5

Open billgraziano opened 10 years ago

billgraziano commented 10 years ago

Control this via a settable property. If set, will throw exception on bad column count but will include either the last good row or the bad row in the exception.

andyseubert commented 5 years ago

I second this - I'm getting an error part way through some files Exception calling "WriteToServer" with "1" argument(s): "Index was outside the bounds of the array." but not other files. I'm splitting one giant file into smaller and smaller files to zero in on the offending line but it'd be nice to have some error output to tell me where to look