Class: ConnectorsService

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

Class Method Summary collapse

Class Method Details

.run!Object



15
16
17
18
19
20
21
22
23
# File 'lib/connectors_service.rb', line 15

def self.run!
  Utility::Environment.set_execution_environment(App::Config) do
    App::PreflightCheck.run!
    App::Dispatcher.start!
  rescue App::PreflightCheck::CheckFailure => e
    Utility::Logger.error("Preflight check failed: #{e.message}")
    exit(-1)
  end
end