I don't it is the right way to ignore incorrect configured agents. Instead of next an exception should be raised with the same information as the log entry.