summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-01-23 14:44:14 -0800
committerTim Smith <tsmith84@gmail.com>2020-01-23 17:58:30 -0800
commit98c26507f16923c145c2235dade91d4902681d02 (patch)
treea2da940eacd9ea92345ad1c1738206ab52ebc6bf /lib
parente295f5391f46d451e208e67014f11fc478b95aa1 (diff)
downloadchef-98c26507f16923c145c2235dade91d4902681d02.tar.gz
Provider a better error message in Chef::Cookbook::CookbookVersionLoader
When this shows up in logs it's impossible to figure out what actually needs to be updated Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/cookbook/cookbook_version_loader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook/cookbook_version_loader.rb b/lib/chef/cookbook/cookbook_version_loader.rb
index 7e09fae60c..cf7bff1ff8 100644
--- a/lib/chef/cookbook/cookbook_version_loader.rb
+++ b/lib/chef/cookbook/cookbook_version_loader.rb
@@ -82,7 +82,7 @@ class Chef
end
def load
- Chef::Log.warn "load method is deprecated. Use load! instead"
+ Chef::Log.warn "Chef::Cookbook::CookbookVersionLoader's load method is deprecated. Please use load! instead."
metadata # force lazy evaluation to occur
# re-raise any exception that occurred when reading the metadata