We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b98d53 commit bab2b9aCopy full SHA for bab2b9a
lib/puppet/provider/mongodb_replset/mongo.rb
@@ -176,8 +176,9 @@ def get_hosts_status(members)
176
Puppet.debug "Host #{host} is alive but unconfigured: #{status['info']}"
177
alive.push(member)
178
end
179
- rescue Puppet::ExecutionFailure
+ rescue Puppet::ExecutionFailure => e
180
Puppet.warning "Can't connect to replicaset member #{host}."
181
+ Puppet.warning(e)
182
183
alive.uniq!
184
dead = members - alive
0 commit comments