summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2016-07-07 10:53:51 -0400
committerMarin Jankovski <maxlazio@gmail.com>2016-07-07 10:53:51 -0400
commit3275568cd6da55e5dc8f3d16a9985d515bc2b20a (patch)
tree862e9aab603c4ecc99b9098187cf79dfdeabcd3d /lib
parentdc14c7f2c362b538b85dff3c5f0f5451d100da62 (diff)
downloadchef-zero-3275568cd6da55e5dc8f3d16a9985d515bc2b20a.tar.gz
Set log level to debug in the rescue block.
Diffstat (limited to 'lib')
-rw-r--r--lib/chef_zero/rest_base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/rest_base.rb b/lib/chef_zero/rest_base.rb
index 71f6f15..9d14696 100644
--- a/lib/chef_zero/rest_base.rb
+++ b/lib/chef_zero/rest_base.rb
@@ -61,7 +61,7 @@ module ChefZero
begin
self.send(method, request)
rescue RestErrorResponse => e
- ChefZero::Log.info("#{e.inspect}\n#{e.backtrace.join("\n")}")
+ ChefZero::Log.debug("#{e.inspect}\n#{e.backtrace.join("\n")}")
error(e.response_code, e.error)
end
end