Github user JPercivall commented on a diff in the pull request:
https://github.com/apache/nifi/pull/476#discussion_r71243836
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ValidateCsv.java
---
@@ -408,9 +407,12 @@ public void process(final InputStream in) throws
IOException {
listReader.read();
}
while(listReader.read(cellProcs) != null) {}
- } catch (final IOException |
SuperCsvCellProcessorException e) {
+ } catch (final IOException e) {
valid.set(false);
logger.error("Failed to validate {} against schema due
to {}", new Object[]{flowFile}, e);
+ } catch (final SuperCsvCellProcessorException e) {
+ valid.set(false);
+ logger.info("Failed to validate {} against schema due
to {}; routing to 'invalid'", new Object[]{flowFile}, e);
--- End diff --
This should be debug, not info, this will occur as a part of normal
operation and is only really relevant for debugging.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---