diff options
author | Thom May <thom@chef.io> | 2016-07-15 14:07:28 +0100 |
---|---|---|
committer | Thom May <thom@may.lt> | 2016-07-15 14:07:28 +0100 |
commit | 584ba1d7bce90af2a57bb3310f99903050518d88 (patch) | |
tree | 862e9aab603c4ecc99b9098187cf79dfdeabcd3d | |
parent | dc14c7f2c362b538b85dff3c5f0f5451d100da62 (diff) | |
download | chef-zero-tm/more_debug.tar.gz |
Use debug logging for backtracestm/more_debug
Signed-off-by: Thom May <thom@may.lt>
-rw-r--r-- | lib/chef_zero/rest_base.rb | 2 |
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 |