Class: Stratify::CollectorCoordinator

Inherits:
Object
  • Object
show all
Defined in:
lib/stratify/collector_coordinator.rb

Class Method Summary collapse

Class Method Details

.run_allObject



3
4
5
6
7
8
9
10
11
# File 'lib/stratify/collector_coordinator.rb', line 3

def self.run_all
  Stratify::Collector.all.each do |collector|
    begin
      collector.run
    rescue => e
      Stratify.logger.error("Error running collector.  Collector => #{collector}.  Error => #{e}")
    end
  end
end