Class: Core::NativeScheduler

Inherits:
Scheduler show all
Defined in:
lib/core/native_scheduler.rb

Instance Method Summary collapse

Methods inherited from Scheduler

#initialize, #shutdown, #when_triggered

Constructor Details

This class inherits a constructor from Core::Scheduler

Instance Method Details

#connector_settingsObject



17
18
19
20
21
22
23
24
25
# File 'lib/core/native_scheduler.rb', line 17

def connector_settings
  Core::ConnectorSettings.fetch_native_connectors || []
rescue *Utility::AUTHORIZATION_ERRORS => e
  # should be handled by the general scheduler
  raise e
rescue StandardError => e
  Utility::ExceptionTracking.log_exception(e, 'Could not retrieve native connectors due to unexpected error.')
  []
end