diff options
Diffstat (limited to 'lib/chef/log.rb')
-rw-r--r-- | lib/chef/log.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/log.rb b/lib/chef/log.rb index ac2baeb9d1..10c9f0f20d 100644 --- a/lib/chef/log.rb +++ b/lib/chef/log.rb @@ -58,7 +58,7 @@ class Chef end if Chef::Config[:treat_deprecation_warnings_as_errors] error(msg, &block) - raise Chef::Exceptions::DeprecatedFeatureError.new(msg) + raise Chef::Exceptions::DeprecatedFeatureError.new(msg.inspect) else warn(msg, &block) end |