Class: OpticsAgent::Reporting::SchemaJob
- Inherits:
-
Object
- Object
- OpticsAgent::Reporting::SchemaJob
- Defined in:
- lib/optics-agent/reporting/schema_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(agent) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# 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 |