class OpticsAgent::Reporting::SchemaJob

Public Instance Methods

perform(agent) click to toggle source
# File lib/optics-agent/reporting/schema_job.rb, line 5
def perform(agent)
  begin
    schema = OpticsAgent::Reporting::Schema.new agent.schema
    schema.send_with(agent)
  rescue StandardError => e
    agent.debug "schema report failed #{e}"
    agent.debug e.backtrace
    raise
  end
end