diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-12-09 11:49:19 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-12-09 11:49:19 -0800 |
commit | de48ab1af03345bee7633463d8d901062d3cad84 (patch) | |
tree | 341d0d56300e60e596bcfffd96050f180679c7d0 /lib | |
parent | bda920ae95ee359921daf68f29580d9126260bcb (diff) | |
parent | 38f05f5d21df826a8d64331c266f365dac76fe1d (diff) | |
download | chef-de48ab1af03345bee7633463d8d901062d3cad84.tar.gz |
Merge pull request #4261 from chef/jdm/missing-var
Add missing exception variable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/package/windows/registry_uninstall_entry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/windows/registry_uninstall_entry.rb b/lib/chef/provider/package/windows/registry_uninstall_entry.rb index 98398adf5e..a63e09c6bd 100644 --- a/lib/chef/provider/package/windows/registry_uninstall_entry.rb +++ b/lib/chef/provider/package/windows/registry_uninstall_entry.rb @@ -48,7 +48,7 @@ class Chef end end end - rescue ::Win32::Registry::Error + rescue ::Win32::Registry::Error => ex Chef::Log.debug("Registry error opening hive '#{hkey[0]}' :: #{desired}: #{ex}") end end |