Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
If the SyslogReader encounters an empty line, it throws an Exception:
if (StringUtils.isBlank(line)) { // while an empty string is an error throw new MalformedRecordException("Encountered a blank message!"); }
Often flows are built that use MergeContent or split data apart, etc. that can result in inadvertently including an empty line between messages. There's no need to throw an Exception in this case. Instead, we should simply skip over the empty line. Perhaps a debug log should be emitted but not an Exception.
Attachments
Issue Links
- links to