diff options
Diffstat (limited to 'lib/chef/data_bag.rb')
-rw-r--r-- | lib/chef/data_bag.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/data_bag.rb b/lib/chef/data_bag.rb index edef971830..35b014905f 100644 --- a/lib/chef/data_bag.rb +++ b/lib/chef/data_bag.rb @@ -153,7 +153,7 @@ class Chef else create end - rescue Net::HTTPServerException => e + rescue Net::HTTPClientException => e raise e unless e.response.code == "409" end self |