summaryrefslogtreecommitdiff
path: root/lib/chef_zero/rest_base.rb
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2014-08-20 20:45:14 -0700
committerJohn Keiser <jkeiser@opscode.com>2014-08-22 09:20:50 -0700
commit3372e864b4d705a4bbca3e52e7edea4656dd89ba (patch)
treec50891dd74b65979e114e2df921cbf24fb535f7f /lib/chef_zero/rest_base.rb
parent9da161dbb67168da835c1a36263aac61b2512810 (diff)
downloadchef-zero-3372e864b4d705a4bbca3e52e7edea4656dd89ba.tar.gz
Get users endpoint passing oc-chef-pedant
Diffstat (limited to 'lib/chef_zero/rest_base.rb')
-rw-r--r--lib/chef_zero/rest_base.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef_zero/rest_base.rb b/lib/chef_zero/rest_base.rb
index eabc07e..f64343b 100644
--- a/lib/chef_zero/rest_base.rb
+++ b/lib/chef_zero/rest_base.rb
@@ -136,7 +136,6 @@ module ChefZero
raise RestErrorResponse.new(404, "Parent not found: #{build_uri(request.base_uri, request.rest_path)}")
end
rescue DataStore::DataAlreadyExistsError
- puts $!.backtrace.join("\n")
if options.include?(:data_store_exceptions)
raise
else
@@ -156,7 +155,6 @@ module ChefZero
raise RestErrorResponse.new(404, "Parent not found: #{build_uri(request.base_uri, request.rest_path)}")
end
rescue DataStore::DataAlreadyExistsError
- puts $!.backtrace.join("\n")
if options.include?(:data_store_exceptions)
raise
else