csv-validator icon indicating copy to clipboard operation
csv-validator copied to clipboard

Validation behavior on I/O errors

Open marksteele opened this issue 7 years ago • 1 comments

During my testing I've found that on some conditions, the validation function returns no errors even if I/O errors occur.

I've got a service streaming the data form S3 and passing it to validate() as an input stream, and I've noticed on multiple occasions that there has been partial reads and I/O errors, but that the validation returned success and swallowed all the exceptions.

This shouldn't be the default behaviour, as it will probably mask errors.

marksteele avatar Jan 15 '19 16:01 marksteele

That definitely sounds like a bug.

Any idea how we could reproduce this easily?

adamretter avatar Jan 15 '19 16:01 adamretter