vendored/puppet/lib/puppet/network/http/api/indirected_routes.rb in bolt-0.11.0 vs vendored/puppet/lib/puppet/network/http/api/indirected_routes.rb in bolt-0.12.0

- old
+ new

@@ -189,10 +189,10 @@ formats = accepted_response_formatters_for(model, request) formatter = formats.find do |format| begin yield format true - rescue Puppet::Network::FormatHandler::FormatError => e + rescue Puppet::Network::FormatHandler::FormatError false end end return formatter if formatter