diff options
author | Stuart Preston <stuart@chef.io> | 2018-07-17 16:36:24 +0100 |
---|---|---|
committer | Stuart Preston <stuart@chef.io> | 2018-07-17 16:36:24 +0100 |
commit | 8fa394155c5305f676adfcd27e864bb82efa62ed (patch) | |
tree | 03ef649ae8c137cf6ffb8c5b9de37069d0acab8b | |
parent | 1a9681889bf34fbf3b1021b45c69709a077315ab (diff) | |
download | chef-8fa394155c5305f676adfcd27e864bb82efa62ed.tar.gz |
Ensuring that default constructor calls superclass
Signed-off-by: Stuart Preston <stuart@chef.io>
-rw-r--r-- | lib/chef/exceptions.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index 28359f82a9..cb82f403e9 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -154,6 +154,9 @@ class Chef @code = error_code super(msg) end + def initialize + super + end end # Thrown when Win32 API layer binds to non-existent Win32 function. Occurs |