lib/puppet/network/http/handler.rb in puppet-0.25.1 vs lib/puppet/network/http/handler.rb in puppet-0.25.2
- old
+ new
@@ -95,9 +95,10 @@
end
# Execute our find.
def do_find(indirection_request, request, response)
unless result = indirection_request.model.find(indirection_request.key, indirection_request.to_hash)
+ Puppet.info("Could not find %s for '%s'" % [indirection_request.indirection_name, indirection_request.key])
return do_exception(response, "Could not find %s %s" % [indirection_request.indirection_name, indirection_request.key], 404)
end
# The encoding of the result must include the format to use,
# and it needs to be used for both the rendering and as