mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
Splat the Exceptions array
This commit is contained in:
parent
defc9b9c61
commit
a8e7965dba
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class LogStash::FilterWorker < LogStash::Plugin
|
||||||
filter.execute(event) do |newevent|
|
filter.execute(event) do |newevent|
|
||||||
events << newevent
|
events << newevent
|
||||||
end
|
end
|
||||||
rescue Exceptions => e
|
rescue *Exceptions => e
|
||||||
@logger.warn("Exception during filter", :event => event,
|
@logger.warn("Exception during filter", :event => event,
|
||||||
:exception => $!, :backtrace => e.backtrace,
|
:exception => $!, :backtrace => e.backtrace,
|
||||||
:filter => filter)
|
:filter => filter)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue