mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
be more liberal with what we catch for bunny connect problems
This commit is contained in:
parent
82e7843c66
commit
14e6cb0220
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class LogStash::Outputs::Amqp < LogStash::Outputs::Base
|
|||
@logger.debug(["Connecting to AMQP", amqpsettings, @exchange_type, @name])
|
||||
@bunny = Bunny.new(amqpsettings)
|
||||
@bunny.start
|
||||
rescue Bunny::ServerDownError => e
|
||||
rescue => e
|
||||
if terminating?
|
||||
return
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue