Skip to content

Commit

Permalink
Log a string instead of an exception instance to avoid serialization …
Browse files Browse the repository at this point in the history
…problems.

Fixes #5277
  • Loading branch information
jordansissel committed May 10, 2016
1 parent 39e0ef5 commit 4e1f825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logstash-core/lib/logstash/agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def start_pipeline(id)
begin
pipeline.run
rescue => e
@logger.error("Pipeline aborted due to error", :exception => e, :backtrace => e.backtrace)
@logger.error("Pipeline aborted due to error", :exception => e.class.name, :backtrace => e.backtrace)
end
end
sleep 0.01 until pipeline.ready?
Expand Down

0 comments on commit 4e1f825

Please sign in to comment.