From 576ed3f96ca27cd08fd0f194579904d18fde6776 Mon Sep 17 00:00:00 2001 From: Jordan Sissel Date: Wed, 19 Sep 2012 11:47:53 -0700 Subject: [PATCH] don't return nil on json_event parse failures --- lib/logstash/inputs/base.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/logstash/inputs/base.rb b/lib/logstash/inputs/base.rb index 77f4d3fac4f..57bd8c28400 100644 --- a/lib/logstash/inputs/base.rb +++ b/lib/logstash/inputs/base.rb @@ -112,7 +112,6 @@ def to_event(raw, source) :input => raw, :source => source, :exception => e, :backtrace => e.backtrace) event.message = raw - return nil end else raise "unknown event format #{@format}, this should never happen"