summaryrefslogtreecommitdiff
path: root/lib/chef/platform.rb
diff options
context:
space:
mode:
authorXabier de Zuazo <xabier@onddo.com>2013-02-21 17:47:51 +0100
committerBryan McLellan <btm@opscode.com>2013-04-11 13:04:33 -0700
commit8c1e41b93b119855e2e723cf35f9ca72d06a76f4 (patch)
tree039b4d8660f6aad094be3066897bba7bcf94c6aa /lib/chef/platform.rb
parent7fa1ea56ec2231f8d2e5def013aaf86b24830d6c (diff)
downloadchef-8c1e41b93b119855e2e723cf35f9ca72d06a76f4.tar.gz
[CHEF-3919] platform parsing error message outputs the problematic version for debugging
Diffstat (limited to 'lib/chef/platform.rb')
-rw-r--r--lib/chef/platform.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/platform.rb b/lib/chef/platform.rb
index 680985b66e..4c407673e2 100644
--- a/lib/chef/platform.rb
+++ b/lib/chef/platform.rb
@@ -351,7 +351,7 @@ class Chef
provider_map.merge!(provider)
end
rescue Chef::Exceptions::InvalidCookbookVersion
- Chef::Log.debug("Chef::Version::Comparable does not know how to parse the platform version")
+ Chef::Log.debug("Chef::Version::Comparable does not know how to parse the platform version: #{version}")
end
end
else