summaryrefslogtreecommitdiff
path: root/lib/chef/exceptions.rb
diff options
context:
space:
mode:
authorMarc Chamberland <mchamberland@pbsc.com>2019-04-25 23:58:27 -0400
committerMarc Chamberland <mchamberland@pbsc.com>2019-04-26 00:24:33 -0400
commit0fb79f0a5f8d2c8ca1f9ddb0d0b0267b300dc81f (patch)
tree7984d75e847846eb31923fd26ef51e625d55a0d5 /lib/chef/exceptions.rb
parent66c0fdeb65c19d267bd501550e60cd16d7bb4901 (diff)
downloadchef-0fb79f0a5f8d2c8ca1f9ddb0d0b0267b300dc81f.tar.gz
chef-client => Chef::Dist::CLIENT
Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r--lib/chef/exceptions.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb
index 0a6c7dc635..4ab9434906 100644
--- a/lib/chef/exceptions.rb
+++ b/lib/chef/exceptions.rb
@@ -18,6 +18,7 @@
# limitations under the License.
require "chef-config/exceptions"
+require "chef/dist"
class Chef
# == Chef::Exceptions
@@ -401,7 +402,7 @@ class Chef
def initialize(response_length, content_length)
super <<~EOF
Response body length #{response_length} does not match HTTP Content-Length header #{content_length}.
- This error is most often caused by network issues (proxies, etc) outside of chef-client.
+ This error is most often caused by network issues (proxies, etc) outside of #{Chef::Dist::CLIENT}.
EOF
end
end