# File lib/ohai/dsl/plugin.rb, line 167 def safe_run begin self.run rescue Ohai::Exceptions::Error => e raise e rescue => e Ohai::Log.debug("Plugin #{self.name} threw #{e.inspect}") e.backtrace.each { |line| Ohai::Log.debug( line )} end end