bin/check-chef-node.rb in sensu-plugins-chef-4.0.0 vs bin/check-chef-node.rb in sensu-plugins-chef-5.0.0

- old
+ new

@@ -69,10 +69,10 @@ if node['automatic']['ohai_time'] ok "Node #{config[:node_name]} found" else warning "Node #{config[:node_name]} does not contain 'ohai_time' attribute" end - rescue => e + rescue StandardError => e critical "Node #{config[:node_name]} not found - #{e.message}" end private