Skip to content

Commit

Permalink
Add ChefVault::Exceptions::ItemNotFound due to chef-vault change.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-wagner authored and majormoses committed Sep 28, 2020
1 parent ae66f63 commit 499d9f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/uchiwa_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def self.data_bag_item(data_bag_name, data_bag_item, missing_ok=false)
rescue Chef::Exceptions::ValidationFailed,
Chef::Exceptions::InvalidDataBagPath,
Chef::Exceptions::InvalidDataBagItemID,
ChefVault::Exceptions::ItemNotFound,
Net::HTTPServerException => error
missing_ok ? nil : raise(error)
end
Expand Down

0 comments on commit 499d9f7

Please sign in to comment.