Skip to content

Commit

Permalink
don't return nil on json_event parse failures
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Sep 19, 2012
1 parent e5ab70b commit 576ed3f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/logstash/inputs/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 576ed3f

Please sign in to comment.