mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- Can't rescue an array of exceptions, have to do *Array
This commit is contained in:
parent
9a0cfcb2b6
commit
1b8bf832cd
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class LogStash::FilterWorker < LogStash::Plugin
|
|||
filter.execute(event) do |newevent|
|
||||
events << newevent
|
||||
end
|
||||
rescue Exceptions => e
|
||||
rescue *Exceptions => e
|
||||
@logger.warn("Exception during filter", :event => event,
|
||||
:exception => $!, :backtrace => e.backtrace,
|
||||
:filter => filter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue