Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
to_ip(): message gets dropped on non-IP strings due to wrong exception handling #28
When a certain message field is parsed with to_ip() that does not contain a valid IP but e.g. a FQDN, an unhandled java.lang.IllegalArgumentException is thrown for each message:
I did some code digging and
As a result, the message gets dropped entirely and a WARN is logged.
Steps to reproduce the problem