lib/reporter/default/properties_ohai.rb in onering-report-plugins-0.0.64 vs lib/reporter/default/properties_ohai.rb in onering-report-plugins-0.0.65
- old
+ new
@@ -49,11 +49,11 @@
end
else
break
end
end
- rescue Exception
- STDERR.puts e.message
+ rescue Exception => e
+ Onering::Logger.warn("Error occurred gathering Ohai facts: #{e.class.name} - #{e.message}", "onering-report-plugins/properties_ohai")
next
end
end
end
end
\ No newline at end of file